election_day.models.subscriber

Classes

Subscriber

Stores subscribers for the notifications

SmsSubscriber

Stores subscribers for the notifications

EmailSubscriber

Stores subscribers for the notifications

Module Contents

class election_day.models.subscriber.Subscriber[source]

Bases: onegov.core.orm.Base, onegov.core.orm.mixins.TimestampMixin

Stores subscribers for the notifications

__tablename__ = 'subscribers'[source]
type: sqlalchemy.Column[str][source]
__mapper_args__[source]
id: sqlalchemy.Column[uuid.UUID][source]
address: sqlalchemy.Column[str][source]
locale: sqlalchemy.Column[str][source]
active: sqlalchemy.Column[bool | None][source]
domain: sqlalchemy.Column[str | None][source]
domain_segment: sqlalchemy.Column[str | None][source]
active_since: sqlalchemy.Column[datetime.datetime | None][source]
inactive_since: sqlalchemy.Column[datetime.datetime | None][source]
class election_day.models.subscriber.SmsSubscriber[source]

Bases: Subscriber

Stores subscribers for the notifications

__mapper_args__[source]
class election_day.models.subscriber.EmailSubscriber[source]

Bases: Subscriber

Stores subscribers for the notifications

__mapper_args__[source]