betty.entities.note module

Provide the Note entity type and utilities.

final class betty.entities.note.Note

Bases: HasPrivacy, HasLinks, HasMediaType

The note entity plugin.

Plugin ID

note

Class

Note

Configuration

not configurable

__init__(text: ResolvableLocalizable, *, id: str | None = None, entity: ToZeroOrOneAssociate[HasNotes] | None = None, privacy: Privacy = Privacy.UNDETERMINED)
async dump_linked_data(project: Project, /) PortableMapping

Dump this instance to JSON-LD.

entity

The entity the note belongs to.

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().

text

The note text.