MCPcopy Create free account
hub / github.com/alibaba/GraphScope / create_graph_node

Method create_graph_node

python/graphscope/gsctl/utils.py:98–106  ·  view source on GitHub ↗
(self, graph, recursive=True)

Source from the content-addressed store, hash-verified

96 return str(actual_instance)
97
98 def create_graph_node(self, graph, recursive=True):
99 # graph name must be unique
100 self.tree.create_node(
101 tag=f"{graph.name}(identifier: {graph.id})",
102 identifier=graph.id,
103 parent=self.root_identifier,
104 )
105 if recursive:
106 self.create_schema_node(graph)
107
108 def create_schema_node(self, graph):
109 schema_identifier = f"{graph.id}_schema"

Callers 4

lsFunction · 0.95
lsFunction · 0.95
lsFunction · 0.95
lsFunction · 0.95

Calls 1

create_schema_nodeMethod · 0.95

Tested by

no test coverage detected