]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Detect (Entity, Entity) vs (Entity, onclause) in legacy join
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 5 Apr 2021 21:37:56 +0000 (17:37 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 5 Apr 2021 23:26:12 +0000 (19:26 -0400)
commit03122c8d060ddc8d8194017dc2cd7e4a1c09c1e1
treeca64e8a71d37669ee04aaa11dae8fd493e4544e2
parent165c3a65dcb1ba3f42ecf2b5da7c298bdc259f9b
Detect (Entity, Entity) vs (Entity, onclause) in legacy join

Fixed regression where a deprecated form of :meth:`_orm.Query.join` were
used, passing a series of entities to join from without any ON clause in a
single :meth:`_orm.Query.join` call, would fail to function correctly.

Fixes: #6203
Change-Id: I5a6ec80de972af5b2ca9054e6f24a0b8af4a3e13
doc/build/changelog/unreleased_14/6203.rst [new file with mode: 0644]
lib/sqlalchemy/orm/query.py
test/orm/test_deprecations.py