discover_calibrable#

hydromodpy.calibration.discover_calibrable(config, *, _prefix='')[source]#

Walk a Pydantic config tree and collect Calibrable annotations.

Keys are dotted paths, e.g. "flow.properties.k_aquifer". Values are Calibrable metadata harvested from Field.json_schema_extra.

Parameters:
  • config (BaseModel | type[BaseModel])

  • _prefix (str)

Return type:

dict[str, Calibrable]