]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Revert AppenderQuery modifications from ORM
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 25 Feb 2021 22:07:06 +0000 (17:07 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 25 Feb 2021 22:19:19 +0000 (17:19 -0500)
commit852119c9f8235a75dcfa9339e6ebf2f57eb39154
tree7b6f38e51358d3ec6245a45e19557eaf2f6465d2
parentdc615763d39916e9c037c7c376db1817cdf02764
Revert AppenderQuery modifications from ORM

We are unfortunately stuck with this class completely
until we get rid of "dynamic" altogether.    The usage
contract includes the "query_class" mixin feature where
users add their own methods, and this use case  very
well in line with 2.0's contract.  As Query is not going away
in any case this has to stay in "legacy" style, there's no
point trying to change it as the new version was still fully
dependent on Query.

Fixes: #5981
Change-Id: I1bc623b17d976b4bb417ab623248d4ac227db74d
doc/build/changelog/unreleased_14/5981.rst [new file with mode: 0644]
doc/build/orm/collections.rst
lib/sqlalchemy/orm/dynamic.py
lib/sqlalchemy/orm/relationships.py
lib/sqlalchemy/testing/assertions.py
test/orm/test_dynamic.py