betty.ancestry.citation module¶
Data types for citations.
- final class betty.ancestry.citation.Citation[source]¶
Bases:
ShorthandPluginBase
,HasDate
,HasFileReferences
,HasPrivacy
,HasLinks
,UserFacingEntity
A citation (a reference to a source).
- __init__(*, id: str | None = None, facts: Iterable['HasCitations & Entity'] | None = None, source: Source | None = None, location: ShorthandStaticTranslations | None = None, date: Datey | None = None, file_references: Iterable[FileReference] | None = None, privacy: Privacy | None = None, public: bool | None = None, private: bool | None = None)[source]¶
- facts¶
A bidirectional many-to-many entity type association.
- property label: Localizable¶
The entity’s human-readable label.
- async classmethod linked_data_schema(project: Project) Object [source]¶
Define the JSON Schema for
betty.json.linked_data.LinkedDataDumpable.dump_linked_data()
.
- location¶
The human-readable citation location.
- classmethod plugin_label_plural() Localizable [source]¶
The human-readable entity type label, plural.
- source¶
A bidirectional many-to-one entity type association.