def list_ptz_async(self, **kwargs): """Async version of list_ptz()""" request = ptz_pb2.ListPtzRequest() return self.call_async(self._stub.ListPtz, request, self._list_ptz_from_response, self._ptz_error_from_response, **kwargs)
def list_ptz(self, **kwargs): """List all the available ptzs""" request = ptz_pb2.ListPtzRequest() return self.call(self._stub.ListPtz, request, self._list_ptz_from_response, self._ptz_error_from_response, **kwargs)