forked from goodboy/tractor
1
0
Fork 0

Fix uid2nursery lookup table type annot

macos_in_ci
Tyler Goodlet 2022-10-17 15:54:05 -04:00
parent ecea1e1658
commit 6d4d428205
1 changed files with 4 additions and 1 deletions

View File

@ -488,7 +488,10 @@ class Actor:
self._parent_chan: Optional[Channel] = None
self._forkserver_info: Optional[
tuple[Any, Any, Any, Any, Any]] = None
self._actoruid2nursery: dict[Optional[tuple[str, str]], 'ActorNursery'] = {} # type: ignore # noqa
self._actoruid2nursery: dict[
tuple[str, str],
ActorNursery | None,
] = {} # type: ignore # noqa
async def wait_for_peer(
self, uid: tuple[str, str]