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).
OA_CONFIG_PATH is resolved when this module is first imported. Set it
before starting the process; changing it at runtime does not change
CONFIG_PATH.
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
If |