pas.path

Classes

SettlementRunExport

Tiny wrapper class for easing the morepath Path Linking

SettlementRunAllExport

Special model for 'all' exports without entity

Functions

get_attendences(...)

get_attendence(→ onegov.pas.models.Attendence | None)

get_changes(→ onegov.pas.collections.ChangeCollection)

get_change(→ onegov.pas.models.Change | None)

get_commissions(...)

get_commission(→ onegov.pas.models.Commission | None)

get_commission_memberships(...)

get_commission_membership(...)

get_legislative_periods(...)

get_legislative_period(...)

get_parliamentarians(...)

get_parliamentarian(...)

get_parliamentarian_roles(...)

get_parliamentarian_role(...)

get_parliamentary_groups(...)

get_parliamentary_group(...)

get_parties(→ onegov.pas.collections.PartyCollection)

get_party(→ onegov.pas.models.Party | None)

get_rate_sets(→ onegov.pas.collections.RateSetCollection)

get_rate_set(→ onegov.pas.models.RateSet | None)

get_settlement_runs(...)

get_settlement_run(...)

get_settlement_run_export(→ SettlementRunExport | None)

get_settlement_run_export_all(...)

Path for 'all' exports without specific entity

Module Contents

pas.path.get_attendences(request: onegov.town6.request.TownRequest, settlement_run_id: str | None = None, date_from: datetime.date | None = None, date_to: datetime.date | None = None, type: str | None = None, parliamentarian_id: str | None = None, commission_id: str | None = None) onegov.pas.collections.AttendenceCollection[source]
pas.path.get_attendence(app: onegov.pas.app.PasApp, id: uuid.UUID) onegov.pas.models.Attendence | None[source]
pas.path.get_changes(app: onegov.pas.app.PasApp) onegov.pas.collections.ChangeCollection[source]
pas.path.get_change(app: onegov.pas.app.PasApp, id: uuid.UUID) onegov.pas.models.Change | None[source]
pas.path.get_commissions(app: onegov.pas.app.PasApp, active: bool = True) onegov.pas.collections.CommissionCollection[source]
pas.path.get_commission(app: onegov.pas.app.PasApp, id: uuid.UUID) onegov.pas.models.Commission | None[source]
pas.path.get_commission_memberships(app: onegov.pas.app.PasApp) onegov.pas.collections.CommissionMembershipCollection[source]
pas.path.get_commission_membership(app: onegov.pas.app.PasApp, id: uuid.UUID) onegov.pas.models.CommissionMembership | None[source]
pas.path.get_legislative_periods(app: onegov.pas.app.PasApp, active: bool = True) onegov.pas.collections.LegislativePeriodCollection[source]
pas.path.get_legislative_period(app: onegov.pas.app.PasApp, id: uuid.UUID) onegov.pas.models.LegislativePeriod | None[source]
pas.path.get_parliamentarians(app: onegov.pas.app.PasApp, active: bool = True) onegov.pas.collections.ParliamentarianCollection[source]
pas.path.get_parliamentarian(app: onegov.pas.app.PasApp, id: uuid.UUID) onegov.pas.models.Parliamentarian | None[source]
pas.path.get_parliamentarian_roles(app: onegov.pas.app.PasApp) onegov.pas.collections.ParliamentarianRoleCollection[source]
pas.path.get_parliamentarian_role(app: onegov.pas.app.PasApp, id: uuid.UUID) onegov.pas.models.ParliamentarianRole | None[source]
pas.path.get_parliamentary_groups(app: onegov.pas.app.PasApp, active: bool = True) onegov.pas.collections.ParliamentaryGroupCollection[source]
pas.path.get_parliamentary_group(app: onegov.pas.app.PasApp, id: uuid.UUID) onegov.pas.models.ParliamentaryGroup | None[source]
pas.path.get_parties(app: onegov.pas.app.PasApp, active: bool = True) onegov.pas.collections.PartyCollection[source]
pas.path.get_party(app: onegov.pas.app.PasApp, id: uuid.UUID) onegov.pas.models.Party | None[source]
pas.path.get_rate_sets(app: onegov.pas.app.PasApp, active: bool = True) onegov.pas.collections.RateSetCollection[source]
pas.path.get_rate_set(app: onegov.pas.app.PasApp, id: uuid.UUID) onegov.pas.models.RateSet | None[source]
pas.path.get_settlement_runs(app: onegov.pas.app.PasApp, active: bool = True) onegov.pas.collections.SettlementRunCollection[source]
pas.path.get_settlement_run(app: onegov.pas.app.PasApp, id: uuid.UUID) onegov.pas.models.SettlementRun | None[source]
class pas.path.SettlementRunExport(settlement_run: onegov.pas.models.SettlementRun, entity: onegov.pas.models.Party | onegov.pas.models.Commission | onegov.pas.models.Parliamentarian, category: str | None = None)[source]

Tiny wrapper class for easing the morepath Path Linking (Acts as a container to pass multiple models in the morepath link.)

settlement_run[source]
entity[source]
category = None[source]
id[source]
entity_id[source]
literal_type[source]
class pas.path.SettlementRunAllExport(settlement_run: onegov.pas.models.SettlementRun, category: str)[source]

Special model for ‘all’ exports without entity

settlement_run[source]
category[source]
id[source]
pas.path.get_settlement_run_export(request: onegov.town6.request.TownRequest, id: uuid.UUID, category: str, entity_id: uuid.UUID, literal_type: str) SettlementRunExport | None[source]
pas.path.get_settlement_run_export_all(request: onegov.town6.request.TownRequest, id: uuid.UUID, category: str) SettlementRunAllExport | None[source]

Path for ‘all’ exports without specific entity