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

Method _load_config_from_file

python/graphscope/client/session.py:607–613  ·  view source on GitHub ↗
(self, path, silent=True)

Source from the content-addressed store, hash-verified

605 )
606
607 def _load_config_from_file(self, path, silent=True):
608 config_path = os.path.expandvars(os.path.expanduser(path))
609 try:
610 return Config.load(config_path, drop_extra_fields=False)
611 except Exception as exp: # noqa
612 if not silent:
613 raise exp
614
615 def _parse_cluster_type(self):
616 # get the cluster type after connecting

Callers 1

__init__Method · 0.95

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected