updates to move_nodes and emane_pathlosses type hinting and naming
This commit is contained in:
parent
e74481df34
commit
29d09c8397
2 changed files with 6 additions and 4 deletions
|
@ -1232,15 +1232,15 @@ class CoreGrpcClient:
|
||||||
return self.stub.WlanLink(request)
|
return self.stub.WlanLink(request)
|
||||||
|
|
||||||
def emane_pathlosses(
|
def emane_pathlosses(
|
||||||
self, pathloss_iter: Iterable[EmanePathlossesRequest]
|
self, pathloss_iterator: Iterable[EmanePathlossesRequest]
|
||||||
) -> EmanePathlossesResponse:
|
) -> EmanePathlossesResponse:
|
||||||
"""
|
"""
|
||||||
Stream EMANE pathloss events.
|
Stream EMANE pathloss events.
|
||||||
|
|
||||||
:param pathloss_iter: iterator for sending EMANE pathloss events
|
:param pathloss_iterator: iterator for sending EMANE pathloss events
|
||||||
:return: EMANE pathloss response
|
:return: EMANE pathloss response
|
||||||
"""
|
"""
|
||||||
return self.stub.EmanePathlosses(pathloss_iter)
|
return self.stub.EmanePathlosses(pathloss_iterator)
|
||||||
|
|
||||||
def connect(self) -> None:
|
def connect(self) -> None:
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -695,7 +695,9 @@ class CoreGrpcServer(core_pb2_grpc.CoreApiServicer):
|
||||||
return core_pb2.GetNodeResponse(node=node_proto, interfaces=interfaces)
|
return core_pb2.GetNodeResponse(node=node_proto, interfaces=interfaces)
|
||||||
|
|
||||||
def MoveNodes(
|
def MoveNodes(
|
||||||
self, request_iterator, context: ServicerContext
|
self,
|
||||||
|
request_iterator: Iterable[core_pb2.MoveNodesRequest],
|
||||||
|
context: ServicerContext,
|
||||||
) -> core_pb2.MoveNodesResponse:
|
) -> core_pb2.MoveNodesResponse:
|
||||||
"""
|
"""
|
||||||
Stream node movements
|
Stream node movements
|
||||||
|
|
Loading…
Add table
Reference in a new issue