diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-01-20 12:41:22 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-01-20 16:25:33 -0500 |
commit | 20e14633fb15018ccf1f5d127fd67609bfe2b3e5 (patch) | |
tree | ae05d084bd39b1020eaabd2a8a4c8da868cda6a5 /lib/sqlalchemy/orm/query.py | |
parent | d8ac1e9e6bfc931d2f14f9846d6924106f56b7e6 (diff) | |
download | sqlalchemy-20e14633fb15018ccf1f5d127fd67609bfe2b3e5.tar.gz |
Adjust natural path to relationship's base mapper for aliased class also
Fixed regression in loader options introduced in 1.3.0b3 via :ticket:`4468`
where the ability to create a loader option using
:meth:`.PropComparator.of_type` targeting an aliased entity that is an
inheriting subclass of the entity which the preceding relationship refers
to would fail to produce a matching path. See also :ticket:`5082` fixed
in this same release which involves a similar kind of issue.
Fixes: #5107
Change-Id: I5c6717b925060c3f8da42190d1f00d05248befd8
Diffstat (limited to 'lib/sqlalchemy/orm/query.py')
0 files changed, 0 insertions, 0 deletions