dlab.utils.yaml_utils module¶ dlab.utils.yaml_utils.read_yaml(path: Path) → dict[source]¶ Read a YAML file, returning empty dict if missing or invalid. dlab.utils.yaml_utils.write_yaml(path: Path, data: dict) → None[source]¶ Write a dict to a YAML file, creating parent dirs if needed.