mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
async-exit-stack was for pre-py37, just import from contextlib now
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
from contextlib import (
|
||||
AsyncExitStack,
|
||||
asynccontextmanager,
|
||||
)
|
||||
from typing import (
|
||||
@ -7,10 +8,6 @@ from typing import (
|
||||
Tuple,
|
||||
)
|
||||
|
||||
from async_exit_stack import (
|
||||
AsyncExitStack,
|
||||
)
|
||||
|
||||
from libp2p.host.host_interface import (
|
||||
IHost,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user