MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / read_yaml

Function read_yaml

utils/io_utils.py:4–6  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

2import yaml
3
4def read_yaml(path) -> Dict[str, Any]:
5 with open(path, mode="r", encoding="utf-8") as f:
6 return yaml.load(f, Loader=yaml.FullLoader)

Callers 4

mainFunction · 0.90
load_configFunction · 0.90
mainFunction · 0.90
_load_graph_dictFunction · 0.90

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected