betty.extension.deriver package¶
Module contents¶
Expand an ancestry by deriving additional data from existing data.
- class betty.extension.deriver.Deriver[source]¶
Bases:
UserFacingExtension,PostLoaderExpand an ancestry by deriving additional data from existing data.
- Parameters:
app (
betty.app.App)args (
typing.Any)kwargs (
typing.Any)
- classmethod comes_before() set[type[betty.app.extension.Extension]][source]¶
The extensions that this one comes before.
The other extensions may or may not be enabled.
- Return type:
- classmethod description() betty.locale.Localizable[source]¶
Get the human-readable extension description.
- Return type:
- classmethod label() betty.locale.Localizable[source]¶
Get the human-readable extension label.
- Return type:
- async post_load() None[source]¶
Act on the ancestry having been loaded.
This method is called immediately after
betty.load.Loader.load().- Return type: