()
| 86 | |
| 87 | |
| 88 | def 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 | |
| 98 | def get_graph_by_id(graph_identifier: str) -> GetGraphResponse: |