landsgemeinde.models.file ========================= .. py:module:: landsgemeinde.models.file Classes ------- .. autoapisummary:: landsgemeinde.models.file.LandsgemeindeFile Module Contents --------------- .. py:class:: LandsgemeindeFile Bases: :py:obj:`onegov.file.models.file.File`, :py:obj:`onegov.file.models.file.SearchableFile` An attachment to an assembly or agenda item. .. py:attribute:: __mapper_args__ .. py:attribute:: fts_type_title Returns the display name for this type of document or a callable which accepts the current request as a single positional argument and returns the display name. .. py:property:: fts_public :type: bool Returns True if the model is available to be found by the public. If false, only editors/admins will see this object in the search results. .. py:property:: fts_last_change :type: datetime.datetime | None Returns the date the document was created/last modified. Returning `None` indicates that the document's age/recency must not influence search ranking: the item should be treated as equally relevant regardless of how old it is.