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

Function list_graphs

python/graphscope/gsctl/impl/graph.py:88–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86
87
88def list_graphs() -> List[GetGraphResponse]:
89 context = get_current_context()
90 with graphscope.flex.rest.ApiClient(
91 graphscope.flex.rest.Configuration(context.coordinator_endpoint)
92 ) as api_client:
93 api_instance = graphscope.flex.rest.GraphApi(api_client)
94 graphs = api_instance.list_graphs()
95 return graphs
96
97
98def get_graph_by_id(graph_identifier: str) -> GetGraphResponse:

Callers 8

lsFunction · 0.90
lsFunction · 0.90
lsFunction · 0.90
lsFunction · 0.90
setup_classMethod · 0.90
test_graphMethod · 0.90
get_graph_id_by_nameFunction · 0.70
get_graph_name_by_idFunction · 0.70

Calls 3

get_current_contextFunction · 0.90
ConfigurationMethod · 0.45
list_graphsMethod · 0.45

Tested by 2

setup_classMethod · 0.72
test_graphMethod · 0.72