event.models.mixins

Classes

OccurrenceMixin

Contains all attributes events and ocurrences share.

Functions

proxied_multidict(→ webob.multidict.MultiDict[str, str])

Module Contents

event.models.mixins.proxied_multidict(items: list[tuple[str, str]]) webob.multidict.MultiDict[str, str][source]
class event.models.mixins.OccurrenceMixin[source]

Bases: 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 UTCDateTime. Use the properties localized_start and localized_end to get the localized version of the date and times.

filter_keyword_list: sqlalchemy.ext.associationproxy.AssociationProxy[list[tuple[str, str]]][source]
title: sqlalchemy.orm.Mapped[str][source]
name: sqlalchemy.orm.Mapped[str | None][source]
location: sqlalchemy.orm.Mapped[str | None][source]
_tags: sqlalchemy.orm.Mapped[dict[str, str] | None][source]
property tags: list[str][source]

Tags/Categories of the event.

property filter_keywords: webob.multidict.MultiDict[str, str][source]
timezone: sqlalchemy.orm.Mapped[str][source]
start: sqlalchemy.orm.Mapped[datetime.datetime][source]
property localized_start: datetime.datetime[source]

The localized version of the start date/time.

end: sqlalchemy.orm.Mapped[datetime.datetime][source]
property localized_end: datetime.datetime[source]

The localized version of the end date/time.

filter_keywords_ordered() dict[str, list[str]][source]