Skip to content

toml_file

Merge two toml files into one.

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