pas.request =========== .. py:module:: pas.request Classes ------- .. autoapisummary:: pas.request.PasRequest Module Contents --------------- .. py:class:: PasRequest(*args, **kwargs) Bases: :py:obj:`onegov.town6.request.TownRequest` 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:property:: is_parliamentarian :type: bool .. py:property:: current_parliamentarian :type: onegov.pas.models.PASParliamentarian | None Returns the current parliamentarian if user is parliamentarian.