betty.entities.presence module#
Data types for people’s presences at events.
- final class betty.entities.presence.Presence#
Bases:
EntityThe
presenceentityplugin. A person’s presence at an event.Plugin ID
presenceClass
Configuration
not configurable
- __init__(person: ToOneAssociate[Self, Person], role: Role, event: ToOneAssociate[Self, Event], *, id: ResolvableMachineName | None = None, privacy: Privacy = Privacy.UNDETERMINED)#
- event#
The event the person was present at.
- property label: Localizable#
The entity’s human-readable label.
- async classmethod linked_data_schema(project: Project, /) JsonLdObject#
Define the JSON Schema for
betty.linked_data.LinkedDataDumpable.dump_linked_data().
- person#
The person whose presence is described.