event.models.mixins =================== .. py:module:: event.models.mixins Classes ------- .. autoapisummary:: event.models.mixins.OccurrenceMixin Functions --------- .. autoapisummary:: event.models.mixins.proxied_multidict Module Contents --------------- .. py:function:: proxied_multidict(items: list[tuple[str, str]]) -> webob.multidict.MultiDict[str, str] .. py:class:: OccurrenceMixin Bases: :py:obj:`onegov.core.orm.mixins.ContentMixin` Contains all attributes events and ocurrences share. The ``start`` and ``end`` date and times are stored in UTC - that is, they are stored internally without a timezone and are converted to UTC when getting or setting, see :class:`UTCDateTime`. Use the properties ``localized_start`` and ``localized_end`` to get the localized version of the date and times. .. py:attribute:: filter_keyword_list :type: sqlalchemy.ext.associationproxy.AssociationProxy[list[tuple[str, str]]] .. py:attribute:: title :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: name :type: sqlalchemy.orm.Mapped[str | None] .. py:attribute:: location :type: sqlalchemy.orm.Mapped[str | None] .. py:attribute:: _tags :type: sqlalchemy.orm.Mapped[dict[str, str] | None] .. py:property:: tags :type: list[str] Tags/Categories of the event. .. py:property:: filter_keywords :type: webob.multidict.MultiDict[str, str] .. py:attribute:: timezone :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: start :type: sqlalchemy.orm.Mapped[datetime.datetime] .. py:property:: localized_start :type: datetime.datetime The localized version of the start date/time. .. py:attribute:: end :type: sqlalchemy.orm.Mapped[datetime.datetime] .. py:property:: localized_end :type: datetime.datetime The localized version of the end date/time. .. py:method:: filter_keywords_ordered() -> dict[str, list[str]]