forked from goodboy/tractor
1
0
Fork 0

Remove union type for root getter

immediate_remote_cancels
Tyler Goodlet 2021-10-14 12:07:36 -04:00
parent fa317d1600
commit 9d83ef82b2
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ async def get_arbiter(
@asynccontextmanager
async def get_root(
**kwargs,
) -> typing.AsyncGenerator[Union[Portal, LocalPortal], None]:
) -> typing.AsyncGenerator[Portal, None]:
host, port = _runtime_vars['_root_mailbox']
assert host is not None