wrapyfi.config package


wrapyfi.config.manager module

class wrapyfi.config.manager.ConfigManager(*args, **kwargs)[source]

Bases: object

The configuration manager is a singleton which is invoked once throughout the runtime.

__init__(config: dict | str | None, **kwargs)[source]

Initializing the ConfigManager. The configuration can be provided as a yaml file name or as a dictionary.


config – Union[dict, str]: Loads a yaml configuration file when “str” type provided. Directly set when “dict” type provided

Module contents