agency.request ============== .. py:module:: agency.request Classes ------- .. autoapisummary:: agency.request.AgencyRequest Module Contents --------------- .. py:class:: AgencyRequest(*args, **kwargs) Bases: :py:obj:`onegov.org.request.OrgRequest` Extends the default Morepath request with virtual host support and other useful methods. Virtual hosting might be supported by Morepath directly in the future: https://github.com/morepath/morepath/issues/185 .. py:attribute:: app :type: onegov.agency.app.AgencyApp :class:`morepath.App` instance currently handling request. .. py:property:: current_role :type: str | None Onegov Agency allows to additionally elevate the member role to the editor role by defining group role mappings.