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

Function disconnect_coordinator

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

Source from the content-addressed store, hash-verified

46
47
48def disconnect_coordinator() -> Union[None, Context]:
49 config = load_gs_config()
50 current_context = config.current_context()
51 if current_context is not None:
52 config.remove_and_write(current_context)
53 return current_context

Callers 2

closeFunction · 0.90
teardown_classMethod · 0.90

Calls 3

load_gs_configFunction · 0.90
current_contextMethod · 0.80
remove_and_writeMethod · 0.80

Tested by 1

teardown_classMethod · 0.72