betty.extension.deriver package

Module contents

Expand an ancestry by deriving additional data from existing data.

class betty.extension.deriver.Deriver[source]

Bases: UserFacingExtension, PostLoader

Expand an ancestry by deriving additional data from existing data.

Parameters:
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:

set[type[betty.app.extension.Extension]]

classmethod description() betty.locale.Localizable[source]

Get the human-readable extension description.

Return type:

betty.locale.Localizable

classmethod label() betty.locale.Localizable[source]

Get the human-readable extension label.

Return type:

betty.locale.Localizable

classmethod name() str[source]

The machine name.

Return type:

str

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