Add todo for `tn` to `gather_contexts()` from `find_actor()`?

actor_cancelled_exc_type
Tyler Goodlet 2025-08-05 11:59:17 -04:00
parent ab013e3069
commit d432e2e245
1 changed files with 3 additions and 2 deletions

View File

@ -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(