ModuleConfig

Inheritance diagram of ModuleConfig

ModuleConfig inheritance diagram

class savant.config.ModuleConfig(*args, **kwargs)

Singleton that provides module configuration loading and access.

load(config_file_path)

Loads and prepares module configuration.

Parameters:

config_file_path (Union[str, Path]) – Module config file path

Returns:

Module configuration, structured

Return type:

Module

property config: Union[Module, DictConfig]

Before load returns default config.

After load returns loaded config.