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)
|
||||
|
|
|
@ -117,7 +117,7 @@ def link_iface(iface_proto: core_pb2.Interface) -> InterfaceData:
|
|||
|
||||
|
||||
def add_link_data(
|
||||
link_proto: core_pb2.Link
|
||||
link_proto: core_pb2.Link,
|
||||
) -> Tuple[InterfaceData, InterfaceData, LinkOptions]:
|
||||
"""
|
||||
Convert link proto to link interfaces and options data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue