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

Function delete_graph_by_id

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

Source from the content-addressed store, hash-verified

115
116
117def delete_graph_by_id(graph_identifier: str) -> str:
118 context = get_current_context()
119 with graphscope.flex.rest.ApiClient(
120 graphscope.flex.rest.Configuration(context.coordinator_endpoint)
121 ) as api_client:
122 api_instance = graphscope.flex.rest.GraphApi(api_client)
123 return api_instance.delete_graph_by_id(graph_identifier)
124
125
126def get_graph_id_by_name(name_or_id: str):

Callers 8

graphFunction · 0.90
test_graphMethod · 0.90
test_bulk_loadingMethod · 0.90
test_cypher_procedureMethod · 0.90
test_cpp_procedureMethod · 0.90
test_serviceMethod · 0.90
test_suit_caseMethod · 0.90

Calls 3

get_current_contextFunction · 0.90
ConfigurationMethod · 0.45
delete_graph_by_idMethod · 0.45

Tested by 7

test_graphMethod · 0.72
test_bulk_loadingMethod · 0.72
test_cypher_procedureMethod · 0.72
test_cpp_procedureMethod · 0.72
test_serviceMethod · 0.72
test_suit_caseMethod · 0.72