config

Module for configuration settings.

config.load(files: list | None = None) None[source]

Load the specified configuration files. Missing keys will be filled in with the defaults in DEFAULT_CONFIG.

Parameters:

files – List of configuration files.

Returns:

None

config.recursive_update(old_dict: dict, new_dict: dict) None[source]

Recursively update dictionary d with values from dictionary u.

Parameters:
  • old_dict – Dictionary to be updated.

  • new_dict – Dictionary with new values.

Returns:

None

config.update(cfg: dict) None[source]

Update the global configuration with values from the provided dictionary.

Parameters:

cfg – Dictionary containing new configuration values.

Returns:

None