]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
expand "is_unnatural" to include all mapper inheritance paths
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 22 Jun 2023 22:11:07 +0000 (18:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 23 Jun 2023 13:22:07 +0000 (09:22 -0400)
commita31ef71bb8d3dcf088f705c14e3f85ea5892b903
treefedca9b8a05a1c5e7b7e75a61a36bb997a4ceef2
parentcb39c0109ef5167de3a7a682cc553480172dac82
expand "is_unnatural" to include all mapper inheritance paths

Fixed issue in ORM loader strategy logic which further allows for long
chains of :func:`_orm.contains_eager` loader options across complex
inheriting polymorphic / aliased / of_type() relationship chains to take
proper effect in queries.

Fixes: #10006
Change-Id: If803a7709ba8fd341fedb3b9282e0930c95fb5cd
doc/build/changelog/unreleased_20/10006.rst [new file with mode: 0644]
lib/sqlalchemy/orm/path_registry.py
test/orm/inheritance/test_assorted_poly.py