pas.models.parliamentarian_role

Attributes

Role

PARLIAMENTARIAN_ROLES

PARTY_ROLES

PARLIAMENTARY_GROUP_ROLES

Classes

ParliamentarianRole

Mixin providing created/modified timestamps for all records.

Module Contents

pas.models.parliamentarian_role.Role: TypeAlias = Literal['none', 'member', 'vote_counter', 'vice_president', 'president'][source]
pas.models.parliamentarian_role.PARLIAMENTARIAN_ROLES: dict[Role, str][source]
pas.models.parliamentarian_role.PARTY_ROLES: dict[PartyRole, str][source]
pas.models.parliamentarian_role.PARLIAMENTARY_GROUP_ROLES: dict[PartyRole, str][source]
class pas.models.parliamentarian_role.ParliamentarianRole[source]

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

Mixin providing created/modified timestamps for all records.

The columns are deferred loaded as this is primarily for logging and future forensics.

__tablename__ = 'pas_parliamentarian_roles'[source]
id: Column[uuid.UUID][source]
start: Column[date | None][source]
end: Column[date | None][source]
parliamentarian_id: Column[uuid.UUID][source]
parliamentarian: relationship[Parliamentarian][source]
role: Column[Role][source]
property role_label: str[source]
party_id: Column[uuid.UUID | None][source]
party: relationship[Party | None][source]
party_role: Column[PartyRole][source]
property party_role_label: str[source]
parliamentary_group_id: Column[uuid.UUID | None][source]
parliamentary_group: relationship[ParliamentaryGroup | None][source]
parliamentary_group_role: Column[ParliamentaryGroupRole][source]
property parliamentary_group_role_label: str[source]
district: Column[str | None][source]
additional_information: Column[str | None][source]
__repr__() str[source]