omd2tex.tools.config_base module#
- class omd2tex.tools.config_base.ConfigBase[source]#
Bases:
object- classmethod update(source: Dict[str, Any] | str) None[source]#
Update configuration values from a dict or file path.
- Parameters:
source – Mapping of overrides or path to a JSON/YAML file with settings.
- Returns:
None
- Raises:
FileNotFoundError – If a provided file path does not exist.
ValueError – When the file format is unsupported.
json.JSONDecodeError or yaml.YAMLError – If configuration parsing fails.