From e08bf4812cfc1ff8afa74444ecd0cd29429484c9 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 5 Aug 2025 11:59:17 -0400 Subject: [PATCH] Add todo for `tn` to `gather_contexts()` from `find_actor()`? --- tractor/_discovery.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tractor/_discovery.py b/tractor/_discovery.py index bf4d066a..833213c3 100644 --- a/tractor/_discovery.py +++ b/tractor/_discovery.py @@ -27,7 +27,7 @@ from typing import ( ) from contextlib import asynccontextmanager as acm -from tractor.log import get_logger +from .log import get_logger from .trionics import ( gather_contexts, collapse_eg, @@ -225,7 +225,7 @@ async def find_actor( raise_on_none: bool = False, ) -> AsyncGenerator[ - Portal | list[Portal] | None, + Portal|list[Portal]|None, None, ]: ''' @@ -267,6 +267,7 @@ async def find_actor( collapse_eg(), gather_contexts( mngrs=maybe_portals, + # tn=tn, # ?TODO, helps to pass rent tn here? ) as portals, ): # log.runtime(