betty.extension.deriver package

Module contents

Expand an ancestry by deriving additional data from existing data.

final class betty.extension.deriver.Deriver[source]

Bases: Extension, PostLoader

Expand an ancestry by deriving additional data from existing data.

Parameters:
classmethod comes_before() set[PluginId][source]

The extensions that this one comes before.

The other extensions may or may not be enabled.

Return type:

set[str]

classmethod plugin_description() betty.locale.localizable.Localizable[source]

Get the human-readable long plugin description.

Return type:

betty.locale.localizable.Localizable

classmethod plugin_id() str[source]

Get the plugin ID.

IDs are unique per plugin type: - A plugin repository MUST at most have a single plugin for any ID. - Different plugin repositories MAY each have a plugin with the same ID.

Return type:

str

classmethod plugin_label() betty.locale.localizable.Localizable[source]

Get the human-readable short plugin label.

Return type:

betty.locale.localizable.Localizable

async post_load() None[source]

Act on the ancestry having been loaded.

This method is called immediately after betty.load.Loader.load().

Return type:

None