betty.entities.source module¶
Data types to describe information sources.
- final class betty.entities.source.Source¶
Bases:
HasAnyDate,HasFileReferences,HasNotes,HasLinks,HasPrivacy,EntityThe
sourceentityplugin.Plugin ID
sourceClass
Configuration
not configurable
- __init__(name: ResolvableLocalizable | None = None, *, id: str | None = None, author: ResolvableLocalizable | None = None, publisher: ResolvableLocalizable | None = None, contained_by: ToZeroOrOneAssociate[Source] = None, contains: ToManyAssociates[Source] = (), notes: ToManyAssociates[Note] = (), date: AnyDate | None = None, file_references: ToManyAssociates[FileReference] = (), links: ToManyAssociates[Link] = (), privacy: Privacy = Privacy.UNDETERMINED)¶
- author¶
The source’s author.
- citations¶
The citations referencing this source
- contained_by¶
Another source this source may be contained by
- contains¶
Other sources this source may contain
- 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().
- name¶
The source’s name.
- publisher¶
The source’s publisher.