betty.ancestry.event_type module¶
Provide Betty’s ancestry event types.
- final class betty.ancestry.event_type.Adoption[source]¶
Bases:
DuringLifeEventType
,_EventTypeShorthandBase
Someone was adopted.
- final class betty.ancestry.event_type.Baptism[source]¶
Bases:
DuringLifeEventType
,StartOfLifeEventType
,_EventTypeShorthandBase
Someone was baptized.
- final class betty.ancestry.event_type.Birth[source]¶
Bases:
CreatableDerivableEventType
,StartOfLifeEventType
,_EventTypeShorthandBase
Someone was born.
- final class betty.ancestry.event_type.Burial[source]¶
Bases:
FinalDispositionEventType
,_EventTypeShorthandBase
Someone was buried.
- final class betty.ancestry.event_type.Conference[source]¶
Bases:
_EventTypeShorthandBase
,DuringLifeEventType
A conference between people took place.
- final class betty.ancestry.event_type.Confirmation[source]¶
Bases:
_EventTypeShorthandBase
,DuringLifeEventType
Someone’s confirmation took place.
- final class betty.ancestry.event_type.Correspondence[source]¶
Bases:
_EventTypeShorthandBase
People corresponded with each other.
- class betty.ancestry.event_type.CreatableDerivableEventType[source]¶
Bases:
DerivableEventType
Any event type of which the deriver API may create new instances.
- final class betty.ancestry.event_type.Cremation[source]¶
Bases:
FinalDispositionEventType
,_EventTypeShorthandBase
Someone was cremated.
- final class betty.ancestry.event_type.Death[source]¶
Bases:
CreatableDerivableEventType
,EndOfLifeEventType
,_EventTypeShorthandBase
Someone died.
- class betty.ancestry.event_type.DerivableEventType[source]¶
Bases:
_EventTypeShorthandBase
Any event that that may be updated by the deriver API.
- final class betty.ancestry.event_type.Divorce[source]¶
Bases:
DuringLifeEventType
,_EventTypeShorthandBase
People were divorced.
- final class betty.ancestry.event_type.DivorceAnnouncement[source]¶
Bases:
DuringLifeEventType
,_EventTypeShorthandBase
People’s divorce was announced.
- class betty.ancestry.event_type.DuringLifeEventType[source]¶
Bases:
EventType
Any event that only ever takes place during someone’s life, e.g. after their birth and before their death.
- betty.ancestry.event_type.EVENT_TYPE_REPOSITORY: PluginRepository[EventType] = <betty.plugin.entry_point.EntryPointPluginRepository object>¶
The event type plugin repository.
Read more about Event type plugins.
- final class betty.ancestry.event_type.Emigration[source]¶
Bases:
_EventTypeShorthandBase
,DuringLifeEventType
Someone emigrated from a place.
- class betty.ancestry.event_type.EndOfLifeEventType[source]¶
Bases:
EventType
An event that indicates the end of someone’s life.
This includes someone’s actual death, but also other types of events that take place close to someone’s death and as such are indicators that that person died around the time of the end-of-life event.
- final class betty.ancestry.event_type.Engagement[source]¶
Bases:
DuringLifeEventType
,_EventTypeShorthandBase
People got engaged with the intent to marry.
- class betty.ancestry.event_type.EventType[source]¶
Bases:
Plugin
Define an
betty.ancestry.Event
type.Read more about Event type plugins.
To test your own subclasses, use
betty.test_utils.ancestry.event_type.EventTypeTestBase
.
- class betty.ancestry.event_type.FinalDispositionEventType[source]¶
Bases:
PostDeathEventType
,DerivableEventType
,EndOfLifeEventType
Someone’s final disposition took place.
- final class betty.ancestry.event_type.Funeral[source]¶
Bases:
FinalDispositionEventType
,_EventTypeShorthandBase
Someone’s funeral took place.
- final class betty.ancestry.event_type.Immigration[source]¶
Bases:
DuringLifeEventType
,_EventTypeShorthandBase
Someone immigrated to a place.
- final class betty.ancestry.event_type.Marriage[source]¶
Bases:
DuringLifeEventType
,_EventTypeShorthandBase
People were married.
- final class betty.ancestry.event_type.MarriageAnnouncement[source]¶
Bases:
DuringLifeEventType
,_EventTypeShorthandBase
People’s marriage was announced.
- final class betty.ancestry.event_type.Missing[source]¶
Bases:
_EventTypeShorthandBase
,DuringLifeEventType
Someone went missing.
- final class betty.ancestry.event_type.Occupation[source]¶
Bases:
_EventTypeShorthandBase
,DuringLifeEventType
Someone’s occupation, e.g. their main recurring activity.
This may include employment, education, stay at home parent, etc.
- class betty.ancestry.event_type.PostDeathEventType[source]¶
Bases:
EventType
An event that only ever happens after someone’s death.
- class betty.ancestry.event_type.PreBirthEventType[source]¶
Bases:
EventType
Any event that only ever takes place before someone’s birth.
- final class betty.ancestry.event_type.Residence[source]¶
Bases:
DuringLifeEventType
,_EventTypeShorthandBase
Someone resided/lived in a place.
- final class betty.ancestry.event_type.Retirement[source]¶
Bases:
_EventTypeShorthandBase
,DuringLifeEventType
Someone retired.
- class betty.ancestry.event_type.StartOfLifeEventType[source]¶
Bases:
EventType
An event that indicates the start of someone’s life.
This includes someone’s actual birth, but also other types of events that take place close to someone’s birth and as such are indicators that that person was born around the time of the start-of-life event.
- final class betty.ancestry.event_type.UnknownEventType[source]¶
Bases:
_EventTypeShorthandBase
Described an event for which no more specific type is known.
- final class betty.ancestry.event_type.Will[source]¶
Bases:
PostDeathEventType
,_EventTypeShorthandBase
Someone’s will and testament came into effect.