pas.models.attendence

Attributes

AttendenceType

TYPES

Classes

Attendence

Mixin providing created/modified timestamps for all records.

Module Contents

pas.models.attendence.AttendenceType: TypeAlias = Literal['plenary', 'commission', 'study', 'shortest'][source]
pas.models.attendence.TYPES: dict[AttendenceType, str][source]
class pas.models.attendence.Attendence[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_attendence'[source]
id: Column[uuid.UUID][source]
date: Column[datetime.date][source]
duration: Column[int][source]
type: Column[AttendenceType][source]
property type_label: str[source]
parliamentarian_id: Column[uuid.UUID][source]
parliamentarian: relationship[Parliamentarian][source]
commission_id: Column[uuid.UUID | None][source]
commission: relationship[Commission | None][source]