ModuleConfig

Inheritance diagram of ModuleConfig

ModuleConfig inheritance diagram

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

Singleton that provides module configuration loading and access.

load(config)

Loads and prepares module configuration.

Parameters:

config (str | Path | IO[Any]) – Module config

Returns:

Module configuration, structured

Return type:

Module

property config: Module | DictConfig

Before load returns default config.

After load returns loaded config.