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

Function read_yaml_file

python/graphscope/gsctl/utils.py:30–33  ·  view source on GitHub ↗

Reads YAML file and returns as a python object.

(path)

Source from the content-addressed store, hash-verified

28
29
30def read_yaml_file(path) -> dict:
31 """Reads YAML file and returns as a python object."""
32 with open(path, "r") as file:
33 return yaml.safe_load(file)
34
35
36def write_yaml_file(data, path):

Callers 10

load_configMethod · 0.90
schemaFunction · 0.90
vertex_typeFunction · 0.90
edge_typeFunction · 0.90
datasourceFunction · 0.90
loaderjobFunction · 0.90
storedprocFunction · 0.90
graphFunction · 0.90
datasourceFunction · 0.90
loaderjobFunction · 0.90

Calls 1

openFunction · 0.85

Tested by

no test coverage detected