yaml_file
Merge two json files into one.
Attributes¶
Classes¶
Functions¶
merge_yaml_files
¶
merge_yaml_files(
new_file: Path, existing_file: Path, merge_strategy: str
) -> None
Merge two json files into one.
Parameters:
new_file
-
The path to the data file to merge
TYPE:
Path
existing_file
-
The path to the data file to merge into and write out.
TYPE:
Path
merge_strategy
-
How to do the merge
TYPE:
str
Raises:
-
MergeError
-
If something goes wrong