forked from goodboy/tractor
				
			Remove union type for root getter
							parent
							
								
									fa317d1600
								
							
						
					
					
						commit
						9d83ef82b2
					
				| 
						 | 
					@ -44,7 +44,7 @@ async def get_arbiter(
 | 
				
			||||||
@asynccontextmanager
 | 
					@asynccontextmanager
 | 
				
			||||||
async def get_root(
 | 
					async def get_root(
 | 
				
			||||||
    **kwargs,
 | 
					    **kwargs,
 | 
				
			||||||
) -> typing.AsyncGenerator[Union[Portal, LocalPortal], None]:
 | 
					) -> typing.AsyncGenerator[Portal, None]:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    host, port = _runtime_vars['_root_mailbox']
 | 
					    host, port = _runtime_vars['_root_mailbox']
 | 
				
			||||||
    assert host is not None
 | 
					    assert host is not None
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue