def list_primitives(self): logger.info("Getting list of TA2 primitives supported") msg = core_pb2.ListPrimitivesRequest() reply = self.serv.ListPrimitives(msg) logger.debug("Got reply: %s" % str(reply)) return reply.primitives
def list_primitives(self): request = core_pb2.ListPrimitivesRequest() LOGGER.debug("%s: %s", request.__class__.__name__, request) response = self.stub.ListPrimitives(request) LOGGER.debug("%s: %s", response.__class__.__name__, response) return response
def do_listprimitives(self): self.core.ListPrimitives(pb_core.ListPrimitivesRequest())
def list_primitives_request(): request = core_pb2.ListPrimitivesRequest() return request