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) ) )
async def set_location(self, latitude: float, longitude: float) -> None: await self.stub.set_location( SetLocationRequest( location=Location(latitude=latitude, longitude=longitude)))
async def client(client: CompanionClient, latitude: float, longitude: float) -> None: await client.stub.set_location( SetLocationRequest( location=Location(latitude=latitude, longitude=longitude)))