:tags: change, orm
:tickets: 4412
- Added a new function :func:`.close_all_sessions` which takes
+ Added a new function :func:`_orm.close_all_sessions` which takes
over the task of the :meth:`.Session.close_all` method, which
is now deprecated as this is confusing as a classmethod.
Pull request courtesy Augustin Trancart.
return operators.getitem, index, return_type
def contains(self, *arg, **kw):
+ """``ARRAY.contains()`` not implemented for the base ARRAY type.
+ Use the dialect-specific ARRAY type.
+
+ .. seealso::
+
+ :class:`_postgresql.ARRAY` - PostgreSQL specific version.
+ """
raise NotImplementedError(
"ARRAY.contains() not implemented for the base "
"ARRAY type; please use the dialect-specific ARRAY type"
# E203 is due to https://github.com/PyCQA/pycodestyle/issues/373
ignore =
- A003,
+ A003, A004
D,
E203,E305,E711,E712,E721,E722,E741,
N801,N802,N806,