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

Method switch_context

python/graphscope/gsctl/config.py:62–65  ·  view source on GitHub ↗
(self, context: str)

Source from the content-addressed store, hash-verified

60 self.timestamp = timestamp
61
62 def switch_context(self, context: str):
63 self.context = context
64 if self.context == "global":
65 self.graph_name = None
66
67 def set_graph_name(self, graph_name: str):
68 self.graph_name = graph_name

Callers 2

set_and_writeMethod · 0.80
switch_contextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected