MigrationConfig class
Bases: UniqueSection
Configuration fields needed to register migration functions from an old version to newer one.
Attributes¶
id
instance-attribute
¶
id: str = _validate_id(id)
A valid python identifier that uniquely identifies the section.
migration_fcts
instance-attribute
¶
migration_fcts: Dict[str, Dict[str, Callable]] = (
migration_fcts
)
A dictionary that maps the version that entities are migrated from to the migration functions.