Skip to content

Commit

Permalink
Fix Decorating handlers section in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ri-gilfanov committed Jun 22, 2021
1 parent 6ff6728 commit 61a8d98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/advansed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ Decorating handlers
-------------------
.. warning::

For use a some ``AsyncEngine`` in decorators, you must set a ``middleware``
argument to ``False`` in ``sa_bind`` call. Else will raise an exception
For use a some session factory in decorators, you must set a ``middleware``
argument to ``False`` in ``bind()`` call. Else will raise an exception
``DuplicateRequestKeyError``.

.. code-block:: python
Expand Down

0 comments on commit 61a8d98

Please sign in to comment.