updates to move_nodes and emane_pathlosses type hinting and naming

This commit is contained in:
Blake Harnden 2020-06-03 14:58:29 -07:00
parent e74481df34
commit 29d09c8397
2 changed files with 6 additions and 4 deletions

View file

@ -1232,15 +1232,15 @@ class CoreGrpcClient:
return self.stub.WlanLink(request)
def emane_pathlosses(
self, pathloss_iter: Iterable[EmanePathlossesRequest]
self, pathloss_iterator: Iterable[EmanePathlossesRequest]
) -> EmanePathlossesResponse:
"""
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 self.stub.EmanePathlosses(pathloss_iter)
return self.stub.EmanePathlosses(pathloss_iterator)
def connect(self) -> None:
"""