betty.ancestry.presence_role module¶
Provide presence roles.
- final class betty.ancestry.presence_role.Attendee[source]¶
Bases:
PresenceRole
Someone attended the event (further details unknown).
- 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.
- classmethod plugin_label() Localizable [source]¶
Get the human-readable short plugin label.
- final class betty.ancestry.presence_role.Beneficiary[source]¶
Bases:
PresenceRole
Someone was a benificiary in the event, such as a
betty.ancestry.event_type.Will
.- 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.
- classmethod plugin_label() Localizable [source]¶
Get the human-readable short plugin label.
- final class betty.ancestry.presence_role.Celebrant[source]¶
Bases:
PresenceRole
Someone was the celebrant at the event.
This includes but is not limited to:
civil servant
religious leader
civilian
- 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.
- classmethod plugin_label() Localizable [source]¶
Get the human-readable short plugin label.
- final class betty.ancestry.presence_role.Organizer[source]¶
Bases:
PresenceRole
Someone organized the event.
- 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.
- classmethod plugin_label() Localizable [source]¶
Get the human-readable short plugin label.
- betty.ancestry.presence_role.PRESENCE_ROLE_REPOSITORY: PluginRepository[PresenceRole] = <betty.plugin.entry_point.EntryPointPluginRepository object>¶
The presence role plugin repository.
Read more about Presence role plugins.
- class betty.ancestry.presence_role.PresenceRole[source]¶
Bases:
Plugin
A person’s role at an event.
Read more about Presence role plugins.
- class betty.ancestry.presence_role.PresenceRoleSchema[source]¶
Bases:
Schema
A JSON Schema for presence roles.
- final class betty.ancestry.presence_role.Speaker[source]¶
Bases:
PresenceRole
Someone performed public speaking at the event.
- 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.
- classmethod plugin_label() Localizable [source]¶
Get the human-readable short plugin label.
- final class betty.ancestry.presence_role.Subject[source]¶
Bases:
PresenceRole
Someone was the subject of the event.
The meaning of this role depends on the event type. For example, for
betty.ancestry.event_type.Marriage
, the subjects are the people who got married. Forbetty.ancestry.event_type.Death
it is the person who died.- 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.
- classmethod plugin_label() Localizable [source]¶
Get the human-readable short plugin label.
- final class betty.ancestry.presence_role.Witness[source]¶
Bases:
PresenceRole
Someone witnessed the event.
- 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.
- classmethod plugin_label() Localizable [source]¶
Get the human-readable short plugin label.