Skip to content

Feature/98 omegaconf#217

Open
ChrsBaur wants to merge 2 commits into
masterfrom
feature/98-omegaconf
Open

Feature/98 omegaconf#217
ChrsBaur wants to merge 2 commits into
masterfrom
feature/98-omegaconf

Conversation

@ChrsBaur
Copy link
Copy Markdown
Contributor

@ChrsBaur ChrsBaur commented May 3, 2026

Replaced PyYAML with omegaconf~=2.3.0 for the yaml config option (closes #98). OmegaConf is a superset of PyYAML that adds variable interpolation (${key}), config merging, and optional runtime type safety via Structured Configs. The load_config() function now returns DictConfig instead of Dict, which supports both dict-style (config['key']) and dot-notation (config.key) access.

ChrsBaur added 2 commits May 4, 2026 01:09
OmegaConf provides variable interpolation, config merging and runtime
type safety on top of standard YAML — the same features that made HOCON
attractive. The load_config() return type changes from Dict to DictConfig,
which supports both dict-style and dot-notation access. Adds omegaconf to
the template repo's own test environment so the generated-project tests
can import it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace PyYAML config with OmegaConf

1 participant