Reads YAML file and returns as a python object.
(path)
| 28 | |
| 29 | |
| 30 | def 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 | |
| 36 | def write_yaml_file(data, path): |
no test coverage detected