event.models.occurrence

Module Contents

Classes

Occurrence

Defines an occurrence of an event.

class event.models.occurrence.Occurrence[source]

Bases: onegov.core.orm.Base, onegov.event.models.mixins.OccurrenceMixin, onegov.core.orm.mixins.TimestampMixin

Defines an occurrence of an event.

property access: str[source]
__tablename__ = 'event_occurrences'[source]
id: Column[uuid.UUID][source]
event_id: Column[uuid.UUID][source]
event: relationship[Event][source]
as_ical(url: str | None = None) str[source]

Returns the occurrence as iCalendar string.