event.models.occurrence

Classes

Occurrence

Defines an occurrence of an event.

Module Contents

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.

__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) bytes[source]

Returns the occurrence as iCalendar string.

property access: str[source]