event.models.mixins

Module Contents

Classes

OccurrenceMixin

Contains all attributes events and ocurrences share.

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.

property tags: list[str][source]

Tags/Categories of the event.

property localized_start: datetime.datetime[source]

The localized version of the start date/time.

property localized_end: datetime.datetime[source]

The localized version of the end date/time.

title: Column[str][source]
name: Column[str | None][source]
location: Column[str | None][source]
_tags: Column[dict[str, str] | None][source]
filter_keywords: dict_property[dict[str, list[str] | str]][source]
filter_keywords[source]
timezone: Column[str][source]
start: Column[datetime][source]
end: Column[datetime][source]
filter_keywords_ordered() dict[str, list[str] | str | None][source]