ConfigModel
Top-level Pydantic model for the PUM configuration file.
Bases: PumCustomBaseModel
ConfigModel represents the main configuration schema for the application.
Attributes:
| Name | Type | Description |
|---|---|---|
pum |
PumModel | None
|
The PUM (Project Update Manager) configuration. Defaults to a new PumModel instance. |
parameters |
list[ParameterDefinitionModel] | None
|
List of parameter definitions. Defaults to an empty list. |
application |
ApplicationModel | None
|
Configuration for application hooks. Defaults to a new ApplicationModel instance. |
changelogs_directory |
str | None
|
Directory path for changelogs. Defaults to "changelogs". |
roles |
list[RoleModel] | None
|
List of role definitions. Defaults to None. |
Source code in pum/config_model.py
handle_legacy_field_names
Support legacy field names for backward compatibility.