hydromodpy.core.config_kit.registry#

Single source of truth for HydroModPy root TOML sections.

The registry is derived from HydroModPyConfig.model_fields so callers that need to enumerate root sections (TOML scaffolding, JSON Schema export, interactive UI) stay automatically in sync with the root model.

Functions

root_scalar_fields()

Return root fields that are TOML scalars rather than sections.

root_sections()

Return the map of root TOML section names to Pydantic model classes.