Beispiel #1
0
 def create_interactive_engine(self, object_id, schema_path,
                               gremlin_server_cpu, gremlin_server_mem):
     request = message_pb2.CreateInteractiveRequest(
         object_id=object_id,
         schema_path=schema_path,
         gremlin_server_cpu=gremlin_server_cpu,
         gremlin_server_mem=gremlin_server_mem,
     )
     response = self._stub.CreateInteractiveInstance(request)
     return check_grpc_response(response)
Beispiel #2
0
 def create_interactive_engine(self, object_id, schema_path):
     request = message_pb2.CreateInteractiveRequest(object_id=object_id,
                                                    schema_path=schema_path)
     response = self._stub.CreateInteractiveInstance(request)
     return check_grpc_response(response)