agency.app

Classes

AgencyApp

Baseclass for Morepath OneGov applications.

Functions

get_create_new_organisation_factory(...)

get_template_directory(→ str)

get_template_variables(→ onegov.core.types.RenderData)

get_theme(→ onegov.agency.theme.AgencyTheme)

get_usergroup_form_class(...)

get_i18n_localedirs(→ list[str])

get_ticket_manager_roles(→ tuple[str, Ellipsis])

get_disabled_extensions(→ tuple[str, Ellipsis])

get_webasset_output(→ str)

get_js_path(→ str)

get_people_select_asset(→ Iterator[str])

get_sortable_multi_checkbox_asset(→ Iterator[str])

get_redactor_asserts(→ Iterator[str])

get_editor_assets(→ Iterator[str])

get_api_endpoints(→ list[type[ApiEndpoint[Any]]])

Module Contents

class agency.app.AgencyApp[source]

Bases: onegov.org.OrgApp, onegov.api.ApiApp

Baseclass for Morepath OneGov applications.

request_class[source]
property root_pdf_exists: bool[source]
property people_xlsx_exists: bool[source]
property root_pdf_modified: datetime | None[source]
property people_xlsx_modified: datetime | None[source]
property root_pdf: bytes | None[source]
property people_xlsx: bytes | None[source]
property pdf_class: type[onegov.agency.pdf.AgencyPdfDefault][source]
property enable_yubikey: bool[source]
agency.app.get_create_new_organisation_factory() Callable[[AgencyApp, str], Organisation][source]
agency.app.get_template_directory() str[source]
agency.app.get_template_variables(request: onegov.agency.request.AgencyRequest) onegov.core.types.RenderData[source]
agency.app.get_theme() onegov.agency.theme.AgencyTheme[source]
agency.app.get_usergroup_form_class() type[onegov.agency.forms.UserGroupForm][source]
agency.app.get_i18n_localedirs() list[str][source]
agency.app.get_ticket_manager_roles() tuple[str, Ellipsis][source]
agency.app.get_disabled_extensions() tuple[str, Ellipsis][source]
agency.app.get_webasset_output() str[source]
agency.app.get_js_path() str[source]
agency.app.get_people_select_asset() Iterator[str][source]
agency.app.get_sortable_multi_checkbox_asset() Iterator[str][source]
agency.app.get_redactor_asserts() Iterator[str][source]
agency.app.get_editor_assets() Iterator[str][source]
agency.app.get_api_endpoints() list[type[ApiEndpoint[Any]]][source]