From 0c74b04c83260b01a67bf21dbfea94c669b4890a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 18 Oct 2023 15:22:54 -0400 Subject: [PATCH] Facepalm, `wait_for_actor()` dun take an addr `list`.. --- tractor/_discovery.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tractor/_discovery.py b/tractor/_discovery.py index 0f9f88e..1fa2a88 100644 --- a/tractor/_discovery.py +++ b/tractor/_discovery.py @@ -243,9 +243,7 @@ async def wait_for_actor( DeprecationWarning, stacklevel=2, ) - registry_addr: list[tuple[str, int]] = [ - arbiter_sockaddr, - ] + registry_addr: tuple[str, int] = arbiter_sockaddr # TODO: use `.trionics.gather_contexts()` like # above in `find_actor()` as well?