openstef_core.base_model#
Configuration utilities for OpenSTEF Beam.
This module provides a BaseConfig class extending Pydantic’s BaseModel with convenience helpers for reading from and writing to YAML files. It also exposes two helper functions write_yaml_config and read_yaml_config that operate on arbitrary config instances or Pydantic models / adapters.
Functions#
|
Read a configuration object from a YAML file. |
|
Write the config to a YAML file. |
Classes#
|
Base configuration model. |
|
Base model class for OpenSTEF components. |
Base class for Pydantic-compatible types with string serialization. |