toml_file
Merge two toml files into one.
Attributes¶
Classes¶
Functions¶
merge_toml_files
¶
merge_toml_files(
new_file: Path, existing_file: Path, merge_strategy: str
) -> None
Merge two toml 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