Layer TOML configuration without coupling callers to profile filenames. More...
Classes | |
| class | TomlOverlayError |
| Raised when a TOML configuration layer cannot be loaded. More... | |
Functions | |
| dict[str, Any] | load_toml_layers (*str|Path|None paths) |
| Load TOML layers in order, with later values overriding earlier values. | |
| dict[str, Any] | merge_toml_tables (dict[str, Any] base, dict[str, Any] override) |
| Return a recursive TOML-table merge without mutating either input. | |
Layer TOML configuration without coupling callers to profile filenames.
| dict[str, Any] config.toml_overlay.load_toml_layers | ( | *str | Path | None | paths | ) |
Load TOML layers in order, with later values overriding earlier values.
Nested tables are merged recursively. Lists and scalar values are replaced as complete values so TOML arrays remain deterministic.