betty.ancestry.person module¶
Data types describing persons.
- final class betty.ancestry.person.Person[source]¶
Bases:
ShorthandPluginBase
,HasFileReferences
,HasCitations
,HasNotes
,HasLinks
,HasPrivacy
,UserFacingEntity
,Entity
A person.
- __init__(*, id: str | None = None, file_references: Iterable[FileReference] | ToManyResolver[FileReference] | None = None, citations: Iterable['Citation'] | ToManyResolver['Citation'] | None = None, links: MutableSequence[Link] | None = None, notes: Iterable[Note] | ToManyResolver[Note] | None = None, privacy: Privacy | None = None, public: bool | None = None, private: bool | None = None, parents: Iterable[Person] | ToManyResolver[Person] | None = None, children: Iterable[Person] | ToManyResolver[Person] | None = None, presences: Iterable['Presence'] | ToManyResolver['Presence'] | None = None, names: Iterable['PersonName'] | ToManyResolver['PersonName'] | None = None, gender: Gender | None = None)[source]¶
- 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()
.
- classmethod plugin_label_plural() Localizable [source]¶
The human-readable entity type label, plural.