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