betty.entities.person module¶
Data types describing persons.
- final class betty.entities.person.Person¶
Bases:
HasFileReferences,HasCitations,HasNotes,HasLinks,HasPrivacyThe
personentityplugin.Plugin ID
personClass
Configuration
not configurable
- __init__(id: str | None = None, *, file_references: ToManyAssociates[FileReference] = (), citations: ToManyAssociates[Citation] = (), links: ToManyAssociates[Link] = (), notes: ToManyAssociates[Note] = (), privacy: Privacy = Privacy.UNDETERMINED, parents: ToManyAssociates[Person] = (), children: ToManyAssociates[Person] = (), presences: ToManyAssociates[Presence] = (), names: ToManyAssociates[PersonName] = (), gender: Gender | None = None)¶
- children¶
The person’s children.
- gender¶
The person’s gender.
- 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().
- names¶
The person’s names.
- parents¶
The person’s parents.
- presences¶
The person’s presences at events.