]> 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)
committerMichael Bayer <mike_mp@zzzcomputing.com>
Tue, 4 Jun 2024 17:14:15 +0000 (17:14 +0000)
commit124026d56dd3b5b26ddb895e0a2edcda8d60f33a
treee5dfcd1645e0192fa352271d95c194371f375d24
parent6f704cac01a0b10e7c4531e20f8edd47f25c150f
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
doc/build/changelog/unreleased_20/11446.rst [new file with mode: 0644]
lib/sqlalchemy/orm/util.py
test/orm/inheritance/test_assorted_poly.py