Skip to content

Commit

Permalink
Fix uid2nursery lookup table type annot
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Dec 13, 2022
1 parent a78e612 commit 6895172
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tractor/_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,10 @@ def __init__(
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]
Expand Down

0 comments on commit 6895172

Please sign in to comment.