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

Function stop_service

python/graphscope/gsctl/impl/service.py:47–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46
47def stop_service() -> str:
48 context = get_current_context()
49 with graphscope.flex.rest.ApiClient(
50 graphscope.flex.rest.Configuration(context.coordinator_endpoint)
51 ) as api_client:
52 api_instance = graphscope.flex.rest.ServiceApi(api_client)
53 return api_instance.stop_service()
54
55
56def restart_service() -> str:

Callers 4

stopFunction · 0.90
test_serviceMethod · 0.90
admin_actor.act.hFile · 0.50

Calls 3

get_current_contextFunction · 0.90
ConfigurationMethod · 0.45
stop_serviceMethod · 0.45

Tested by 2

test_serviceMethod · 0.72