File¶
A betty.model.ancestry.File
describes a file, such as an image or a PDF document, that is attached to other entities.
Fields¶
Files inherit from:
citations
(iterable of Citation)The citations for this file.
description
(optionalstr
)The file’s human-readable description.
entities
(iterable of any entity)The entities this file is attached to.
id
(str
)The file’s own entity ID.
links
(iterable of Link)The external links for this file.
notes
(iterable of Note)The notes for this file.
media_type
(MediaType)The media type of this file.