MCPcopy Create free account
hub / github.com/apple/ml-pointersect / read_config

Function read_config

pointersect/meta_script/meta_script_utils.py:19–22  ·  view source on GitHub ↗
(filename: str)

Source from the content-addressed store, hash-verified

17
18
19def read_config(filename: str) -> T.Dict[str, T.Any]:
20 with open(filename) as file:
21 default_config_dict = yaml.load(file, Loader=yaml.FullLoader)
22 return default_config_dict
23
24
25def write_config_file(filename: str, config_dict: T.Dict[str, T.Any]):

Callers

nothing calls this directly

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected