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: Column[str][source]
__mapper_args__[source]
id: Column[uuid.UUID][source]
address: Column[str][source]
locale: Column[str][source]
active: Column[bool | None][source]
domain: Column[str | None][source]
domain_segment: Column[str | 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]