pas.path
Classes
Tiny wrapper class for easing the morepath Path Linking |
|
Special model for 'all' exports without entity |
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_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.)
- class pas.path.SettlementRunAllExport(settlement_run: onegov.pas.models.SettlementRun, category: str)[source]
Special model for ‘all’ exports without entity
- 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