Beispiel #1
0
 def get_catalogs(self, connection_id):
     request = requests_pb2.CatalogsRequest()
     request.connection_id = connection_id
     response_data = self._apply(request, 'ResultSetResponse')
     response = responses_pb2.ResultSetResponse()
     response.ParseFromString(response_data)
     return response
Beispiel #2
0
 def get_catalogs(self, connection_id):
     request = requests_pb2.CatalogsRequest()
     request.connection_id = connection_id
     return self._apply(request)