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

Function start_service

python/graphscope/gsctl/impl/service.py:36–44  ·  view source on GitHub ↗
(graph_identifier: str)

Source from the content-addressed store, hash-verified

34
35
36def start_service(graph_identifier: str) -> str:
37 context = get_current_context()
38 with graphscope.flex.rest.ApiClient(
39 graphscope.flex.rest.Configuration(context.coordinator_endpoint)
40 ) as api_client:
41 api_instance = graphscope.flex.rest.ServiceApi(api_client)
42 return api_instance.start_service(
43 StartServiceRequest.from_dict({"graph_id": graph_identifier})
44 )
45
46
47def stop_service() -> str:

Callers 5

startFunction · 0.90
useFunction · 0.90
test_serviceMethod · 0.90
admin_actor.act.hFile · 0.50

Calls 4

get_current_contextFunction · 0.90
ConfigurationMethod · 0.45
start_serviceMethod · 0.45
from_dictMethod · 0.45

Tested by 2

test_serviceMethod · 0.72