doc/api/req.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 20 Jan 2017 15:16:18 +0100
branch3.24
changeset 11917 c38e13988c10
parent 10494 b6f00889355c
child 12845 dd557dca2e86
permissions -rw-r--r--
Fix str(Unauthorized) which is really problematic on python 3 where __unicode__ is never called anymore. This was caused because in PY3, CubicWebException.__str__ was referencing __unicode__ implementation of CubicWebException, not of its subclass that implements it. Fix a flake8 style warning about lambda assignment as a bonus.

.. _req_module:

:mod:`cubicweb.req`
===================

.. automodule:: cubicweb.req

    .. autoexception:: FindEntityError

    .. autoclass:: RequestSessionBase
        :members: