betty.entities.person module¶
Data types describing persons.
- final class betty.entities.person.Person¶
Bases:
HasFileReferences,HasCitations,HasNotes,HasLinksThe
personentityplugin.Plugin ID
personClass
Configuration
not configurable
- __init__(id: ResolvableMachineName | None = None, *, files: ToManyAssociates[Self, FileReference] = (), citations: ToManyAssociates[Self, Citation] = (), links: ToManyAssociates[Self, Link] = (), notes: ToManyAssociates[Self, Note] = (), privacy: Privacy = Privacy.UNDETERMINED, parents: ToManyAssociates[Self, Person] = (), children: ToManyAssociates[Self, Person] = (), presences: ToManyAssociates[Self, Presence] = (), names: ToManyAssociates[Self, 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.