daemon: formatting changes related to updating the python black formatter
This commit is contained in:
parent
4c351b0d72
commit
93272d6ed7
5 changed files with 10 additions and 10 deletions
|
@ -160,12 +160,12 @@ def throughput_listener(
|
|||
stream: Any, handler: Callable[[wrappers.ThroughputsEvent], None]
|
||||
) -> None:
|
||||
"""
|
||||
Listen for throughput events and provide them to the handler.
|
||||
Listen for throughput events and provide them to the handler.
|
||||
|
||||
:param stream: grpc stream that will provide events
|
||||
:param handler: function that handles an event
|
||||
:return: nothing
|
||||
"""
|
||||
:param stream: grpc stream that will provide events
|
||||
:param handler: function that handles an event
|
||||
:return: nothing
|
||||
"""
|
||||
try:
|
||||
for event_proto in stream:
|
||||
event = wrappers.ThroughputsEvent.from_proto(event_proto)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue