Example #1
0
 async def set_location(self, latitude: float, longitude: float) -> None:
     async with self.get_stub() as stub:
         await stub.set_location(
             SetLocationRequest(
                 location=Location(latitude=latitude, longitude=longitude)
             )
         )
Example #2
0
 async def set_location(self, latitude: float, longitude: float) -> None:
     await self.stub.set_location(
         SetLocationRequest(
             location=Location(latitude=latitude, longitude=longitude)))
Example #3
0
async def client(client: CompanionClient, latitude: float,
                 longitude: float) -> None:
    await client.stub.set_location(
        SetLocationRequest(
            location=Location(latitude=latitude, longitude=longitude)))