Loader¶
The loader reads a TOML file, validates it against the typed models, and applies any environment-variable overrides before returning a bound StackConfig.
Helpers for loading the shared stack configuration from TOML.
load_stack_config ¶
load_stack_config() -> StackConfig
Load a :class:StackConfig from CONFIG_PATH
(default ~/.config/omop/config.toml, overridable via OA_CONFIG_PATH).
The active profile can be overridden via the OA_ACTIVE_PROFILE
environment variable without modifying the file.
Raises¶
FileNotFoundError
If CONFIG_PATH does not exist.