mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
turn mypy checks back on, fix some errors
This commit is contained in:
@ -145,7 +145,8 @@ class BasicHost(IHost):
|
||||
addrs.append(addr.encapsulate(p2p_part))
|
||||
return addrs
|
||||
|
||||
@asynccontextmanager
|
||||
# type ignored because asynccontextmanager decorator is untyped
|
||||
@asynccontextmanager # type: ignore
|
||||
async def run(
|
||||
self, listen_addrs: Sequence[multiaddr.Multiaddr]
|
||||
) -> AsyncIterator[None]:
|
||||
|
||||
Reference in New Issue
Block a user