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
예제 #2
0
    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
예제 #3
0
 def do_listprimitives(self):
     self.core.ListPrimitives(pb_core.ListPrimitivesRequest())
예제 #4
0
def list_primitives_request():
    request = core_pb2.ListPrimitivesRequest()
    return request