Skip to content

Commit 50988d7

Browse files
committed
Add type information to member variable
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 9345acd commit 50988d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/frequenz/dispatch/_managing_actor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ def __init__(
121121
"""
122122
super().__init__()
123123
self._dispatch_rx = running_status_receiver
124-
self._actors = frozenset([actor] if isinstance(actor, Actor) else actor)
124+
self._actors: frozenset[Actor] = frozenset(
125+
[actor] if isinstance(actor, Actor) else actor
126+
)
125127
self._dispatch_type = dispatch_type
126128
self._updates_sender = updates_sender
127129

0 commit comments

Comments
 (0)