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

Function get_graph_name_by_id

python/graphscope/gsctl/impl/graph.py:145–150  ·  view source on GitHub ↗
(graph_identifier: str)

Source from the content-addressed store, hash-verified

143
144
145def get_graph_name_by_id(graph_identifier: str):
146 graphs = list_graphs()
147 for g in graphs:
148 if g.id == graph_identifier:
149 return g.name
150 return graph_identifier

Callers 2

useFunction · 0.90
useFunction · 0.90

Calls 1

list_graphsFunction · 0.70

Tested by

no test coverage detected