From 45f334b9c27cbaeb48f4ec5051be248ef3f969f2 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 20 Aug 2021 14:46:52 -0400 Subject: [PATCH] Instance ids are ints --- tractor/_broadcast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tractor/_broadcast.py b/tractor/_broadcast.py index 9c29902..907859c 100644 --- a/tractor/_broadcast.py +++ b/tractor/_broadcast.py @@ -77,7 +77,7 @@ class BroadcastState: # map of underlying instance id keys to receiver instances which # must be provided as a singleton per broadcaster set. - subs: dict[str, int] + subs: dict[int, int] # broadcast event to wake up all sleeping consumer tasks # on a newly produced value from the sender.