Bases: PumCustomBaseModel
MigrationHooksModel holds the configuration for migration hooks.
Attributes:
Name |
Type |
Description |
pre |
Optional[List[HookModel]]
|
List of pre-migration hooks.
|
post |
Optional[List[HookModel]]
|
List of post-migration hooks.
|
Source code in pum/config_model.py
| class MigrationHooksModel(PumCustomBaseModel):
"""
MigrationHooksModel holds the configuration for migration hooks.
Attributes:
pre: List of pre-migration hooks.
post: List of post-migration hooks.
"""
pre: Optional[List[HookModel]] = []
post: Optional[List[HookModel]] = []
|