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

Function write_config_file

pointersect/meta_script/meta_script_utils.py:25–28  ·  view source on GitHub ↗
(filename: str, config_dict: T.Dict[str, T.Any])

Source from the content-addressed store, hash-verified

23
24
25def write_config_file(filename: str, config_dict: T.Dict[str, T.Any]):
26 with open(filename, 'w') as file:
27 config_txt = yaml.dump(config_dict, file, default_flow_style=False)
28 return config_txt
29
30
31def remove_bad_char(name: str) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected