betty.ancestry.presence module¶
Data types for people’s presences at events.
- final class betty.ancestry.presence.Presence[source]¶
Bases:
ShorthandPluginBase,HasPrivacy,EntityThe presence of a
betty.ancestry.person.Personat anbetty.ancestry.event.Event.- __init__(person: Person | ToOneResolver[Person], role: PresenceRole, event: Event | ToOneResolver[Event], *, privacy: Privacy | None = None, public: bool | None = None, private: bool | None = None)[source]¶
- event¶
The event the person was present at.
- get_mutable_instances() Iterable[Mutable][source]¶
Get any other
betty.mutability.Mutableinstances contained by this one.
- property label: Localizable¶
The entity’s human-readable label.
- async classmethod linked_data_schema(project: Project) JsonLdObject[source]¶
Define the JSON Schema for
betty.json.linked_data.LinkedDataDumpable.dump_linked_data().
- person¶
The person whose presence is described.
- classmethod plugin_label_plural() Localizable[source]¶
The human-readable entity type label, plural.
- role: PresenceRole¶
The role the person performed at the event.