]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
expand entity_isa to include simple "isa" in poly case
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 3 Jun 2024 18:50:25 +0000 (14:50 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 4 Jun 2024 12:09:37 +0000 (08:09 -0400)
commit6eda3cae02b0944bd5adb47145ca11404ec25f44
tree7487ded7b7777710ce77fc472644d377021d62b2
parentfa208b7979273a456077fac7c4e360c5af29112d
expand entity_isa to include simple "isa" in poly case

Fixed issue where the :func:`_orm.selectinload` and
:func:`_orm.subqueryload` loader options would fail to take effect when
made against an inherited subclass that itself included a subclass-specific
:paramref:`_orm.Mapper.with_polymorphic` setting.

Fixes: #11446
Change-Id: I2df3ebedbe4aa9da58af99d7729e5f3052ad6abc
(cherry picked from commit 63a903b918343ca312aaded93b7e9af7a88fa3a8)
doc/build/changelog/unreleased_20/11446.rst [new file with mode: 0644]
lib/sqlalchemy/orm/util.py
test/orm/inheritance/test_assorted_poly.py