betty.ancestry.enclosure module

Data types to describe the relationships between places.

final class betty.ancestry.enclosure.Enclosure[source]

Bases: ShorthandPluginBase, HasDate, HasCitations, Entity

The enclosure of one place by another.

Enclosures describe the outer (`encloser`) and inner(``enclosee) places, and their relationship.

__init__(enclosee: ToOneAssociate[Place], encloser: ToOneAssociate[Place])[source]
enclosee

The inner place.

encloser

The outer place.

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.