Source code for feriennet.collections.notification_template

from functools import cached_property
from onegov.core.collection import GenericCollection


from typing import TYPE_CHECKING
if TYPE_CHECKING:
    from onegov.feriennet.models import NotificationTemplate


[docs] class NotificationTemplateCollection( GenericCollection['NotificationTemplate'] ): @cached_property
[docs] def model_class(self) -> type['NotificationTemplate']: # XXX circular import from onegov.feriennet.models import NotificationTemplate return NotificationTemplate