dgs.utils.config¶
Util- and helper-functions for handling configuration files and passing down sub configurations to other modules.
Contains functions for validating configuration and parameter of modules.
Module Attributes
Default values and parameters. |
Module Functions
|
PyYaml does not support tuples, change that! |
|
Use values of a given configuration or the default configuration, to fill in missing values of the current configuration. |
|
Given a full configuration file in nested dict style, return the given subtree by using the items in path as node keys. |
|
Insert a sub-configuration at the given path into the original or a copy of it, possibly overwriting existing values. |
|
Load a config.yaml file as nested dictionary. |
|
Given a configuration, save it as .yaml file at the given filepath. |