Source code for landsgemeinde.models.file

from onegov.file.models.file import File
from onegov.file.models.file import SearchableFile


[docs] class LandsgemeindeFile(File, SearchableFile): """ An attachment to an assembly or agenda item. """
[docs] __mapper_args__ = {'polymorphic_identity': 'landsgemeinde'}
[docs] es_type_name = 'landsgemeinde_file'
@property
[docs] def es_public(self) -> bool: return True