]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
ensure with_options not switched to a list
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 10 Jan 2022 19:59:59 +0000 (14:59 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 11 Jan 2022 00:48:32 +0000 (19:48 -0500)
commit4e9fe6e3b7a72fc3b116403ea9b27e847b5bf186
tree87df7e468c1d6f13ce5a438aef779e5462a6c2f4
parent5681d4e4da8ee69d83e9c0103c171d413d4c183e
ensure with_options not switched to a list

Fixed regression which appeared in 1.4.23 which could cause loader options
to be mis-handled in some cases, in particular when using joined table
inheritance in combination with the ``polymorphic_load="selectin"`` option
as well as relationship lazy loading, leading to a ``TypeError``.

Fixes: #7557
Change-Id: Id38619692f94308fd5f567a02337efef7a3a7544
doc/build/changelog/unreleased_14/7557.rst [new file with mode: 0644]
lib/sqlalchemy/orm/strategies.py
test/orm/inheritance/test_poly_loading.py