hydromodpy.core.config_kit#
Pydantic helpers shared by every HydroModPy configuration model.
Hosts the strict HydroModelBase root, the Profile enum, the
VisibleWhen field-visibility tag, and the introspection / schema export
helpers that operate on these primitives. None of the symbols here carry
hydrology-specific behaviour: they are pure Pydantic foundations consumed
by every sub-config in the codebase.
Layer rule: this sub-package may import only pydantic, the standard
library, and hydromodpy.core.*.
Modules
Root Pydantic base class shared by every HydroModPy config model. |
|
Declarative description of a single result export. |
|
Typed convention for |
|
Introspection helpers for HydroModPy Pydantic config fields. |
|
Schema contract for the optional |
|
Single-switch persistence configuration (Principe 8). |
|
Hierarchical visibility profiles for Pydantic config fields. |
|
Single source of truth for HydroModPy root TOML sections. |
|
Protocol decoupling core helpers from the application root config. |
|
Shared constrained config types and reusable Literal aliases. |
|
Shared field-validator callables for Pydantic configuration models. |
|
Profile visibility tags and helpers. |