swissvotes.request ================== .. py:module:: swissvotes.request Classes ------- .. autoapisummary:: swissvotes.request.SwissvotesRequest Module Contents --------------- .. py:class:: SwissvotesRequest(*args, **kwargs) Bases: :py:obj:`onegov.core.request.CoreRequest` 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.swissvotes.app.SwissvotesApp :class:`morepath.App` instance currently handling request.