We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0056292 commit 10ca981Copy full SHA for 10ca981
1 file changed
src/frequenz/client/dispatch/_client.py
@@ -55,11 +55,6 @@
55
class Client(BaseApiClient[dispatch_pb2_grpc.MicrogridDispatchServiceStub]):
56
"""Dispatch API client."""
57
58
- streams: dict[
59
- int, GrpcStreamBroadcaster[StreamMicrogridDispatchesResponse, DispatchEvent]
60
- ] = {}
61
- """A dictionary of streamers, keyed by microgrid_id."""
62
-
63
def __init__(
64
self,
65
*,
@@ -91,6 +86,10 @@ def __init__(
91
86
),
92
87
)
93
88
self._metadata = (("key", key),)
89
+ self.streams: dict[
90
+ int, GrpcStreamBroadcaster[StreamMicrogridDispatchesResponse, DispatchEvent]
+ ] = {}
+ """A dictionary of streamers, keyed by microgrid_id."""
94
95
@property
96
def stub(self) -> dispatch_pb2_grpc.MicrogridDispatchServiceAsyncStub:
0 commit comments