diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-07-14 10:29:50 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-07-14 13:28:25 -0400 |
commit | 79a3dafb1425488ba29d309cc32e0e24004be256 (patch) | |
tree | 19edb827f4d3bbed2a686c46cf24adee0db232fd /lib/sqlalchemy/ext/mypy/plugin.py | |
parent | ac5ccb7e8560832beb8ec5fdeaab90816cb05973 (diff) | |
download | sqlalchemy-79a3dafb1425488ba29d309cc32e0e24004be256.tar.gz |
Ensure alias traversal block works when adapt_from_selectables present
Fixed regression which appeared in version 1.4.3 due to :ticket:`6060`
where rules that limit ORM adaptation of derived selectables interfered
with other ORM-adaptation based cases, in this case when applying
adaptations for a :func:`_orm.with_polymorphic` against a mapping which
uses a :func:`_orm.column_property` which in turn makes use of a scalar
select that includes a :func:`_orm.aliased` object of the mapped table.
Fixes: #6762
Change-Id: Ice3dc34b97d12b59f044bdc0c5faaefcc4015227
Diffstat (limited to 'lib/sqlalchemy/ext/mypy/plugin.py')
0 files changed, 0 insertions, 0 deletions