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

Function close

python/graphscope/gsctl/commands/common.py:82–92  ·  view source on GitHub ↗

Disconnect from coordinator.

()

Source from the content-addressed store, hash-verified

80
81@cli.command()
82def close():
83 """Disconnect from coordinator."""
84 try:
85 context = disconnect_coordinator()
86 except Exception as e:
87 err(f"Disconnect from coordinator failed: {str(e)}")
88 else:
89 if context is not None:
90 info(f"Disconnecting from the context: {context.to_dict()}")
91 succ("Coordinator service disconnected.\n")
92 info("Try 'gsctl --help' for help.")
93
94
95disclaimer = """

Callers 13

resetMethod · 0.85
dumpMethod · 0.85
get_current_dirFunction · 0.85
~TypedColumnMethod · 0.85
~TypedColumnMethod · 0.85
~TypedColumnMethod · 0.85
copy_fileFunction · 0.85
~WalWriterMethod · 0.85
closeMethod · 0.85
~WalsParserMethod · 0.85
check_port_occupiedFunction · 0.85
write_query_to_pipeFunction · 0.85

Calls 5

disconnect_coordinatorFunction · 0.90
errFunction · 0.90
infoFunction · 0.90
succFunction · 0.90
to_dictMethod · 0.45

Tested by

no test coverage detected