()
| 25 | |
| 26 | |
| 27 | def list_service_status() -> List[ServiceStatus]: |
| 28 | context = get_current_context() |
| 29 | with graphscope.flex.rest.ApiClient( |
| 30 | graphscope.flex.rest.Configuration(context.coordinator_endpoint) |
| 31 | ) as api_client: |
| 32 | api_instance = graphscope.flex.rest.ServiceApi(api_client) |
| 33 | return api_instance.list_service_status() |
| 34 | |
| 35 | |
| 36 | def start_service(graph_identifier: str) -> str: |