nicetoolbox.utils.config.save_config¶
- nicetoolbox.utils.config.save_config(configs: dict, config_file: str) None[source]¶
Save the given configuration data to the specified file.
- Parameters:
configs (dict) – The configuration data to be saved.
config_file (str) – The path to the file where the configuration data
saved. (will be) –
- Raises:
NotImplementedError – If the file type is not supported. Supported types are yaml/yml and toml.
Note
If the file type is Windows, it will convert the paths to Windows format.