betty.enrichers.deriver package

Submodules

Module contents

Expand an ancestry by deriving additional data from existing data.

final class betty.enrichers.deriver.Deriver

Bases: Enricher, Manufacturable

The deriver enricher plugin. Create events such as births and deaths by deriving their details from existing information.

Plugin ID

deriver

Class

Deriver

Configuration

not configurable

The deriver extension derives, or infers, events for people based on their existing events. For example, we know that someone’s final disposition, such as a burial or cremation, comes after their death. If a person has a burial event without a date, and a death event with a date of January 1, 1970, the Deriver will update the burial event with the date range sometime after January 1, 1970.

The Deriver works for every event type that declares it can be derived, and depending on which other event types it declares it comes before or after. This means that the behavior of this extension is complex, and dependent on the event types used within your site as well as the existing events for each person.

__init__(*, project: Project)
async enrich(scheduler: Scheduler, /) None

Enrich ancestry data.

new = <betty.requirement._RequirableDecorator object>