From d432e2e245ba807b22b6bb447ecb8419e6c46bb2 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 a332ab73..283d6512 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, @@ -217,7 +217,7 @@ async def find_actor( raise_on_none: bool = False, ) -> AsyncGenerator[ - Portal | list[Portal] | None, + Portal|list[Portal]|None, None, ]: ''' @@ -259,6 +259,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(