betty.entity.has_file_references module

Tools for entities that have file references.

class betty.entity.has_file_references.HasFileReferences

Bases: Entity

An entity that has associated betty.entities.file.File entities.

__init__(*args: Any, file_references: ToManyAssociates[FileReference] = (), **kwargs: Any)
file_references

A bidirectional \*-to-many entity type association where all associates are of the same entity type.