pas.export_single_parliamentarian
Attributes
Classes
dict() -> new empty dictionary |
Functions
Generate PDF for parliamentarian settlement data. |
|
|
Get settlement data for a specific parliamentarian. |
Module Contents
- class pas.export_single_parliamentarian.TypeTotal[source]
Bases:
TypedDict
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
- entries: list[ParliamentarianEntry][source]
- pas.export_single_parliamentarian.generate_parliamentarian_settlement_pdf(settlement_run: onegov.pas.models.settlement_run.SettlementRun, request: onegov.town6.request.TownRequest, parliamentarian: onegov.pas.models.Parliamentarian) bytes [source]
Generate PDF for parliamentarian settlement data.
- pas.export_single_parliamentarian.get_parliamentarian_settlement_data(settlement_run: onegov.pas.models.settlement_run.SettlementRun, request: onegov.town6.request.TownRequest, parliamentarian: onegov.pas.models.Parliamentarian) dict[str, list[ParliamentarianEntry]] [source]
Get settlement data for a specific parliamentarian.