summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/_psycopg_common.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-05-27 16:07:01 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-05-29 16:10:54 -0400
commit335cdea7c72c279f8cf9de278ac96f7dda2bca15 (patch)
treec43698d8dee5c0c4b70de2516acfe52476f00187 /lib/sqlalchemy/dialects/postgresql/_psycopg_common.py
parent21ae13765d7410228672a282fef29fc0e2b3b098 (diff)
downloadsqlalchemy-335cdea7c72c279f8cf9de278ac96f7dda2bca15.tar.gz
remove "deannotate" from column_property expression
Fixed issue where using a :func:`_orm.column_property` construct containing a subquery against an already-mapped column attribute would not correctly apply ORM-compilation behaviors to the subquery, including that the "IN" expression added for a single-table inherits expression would fail to be included. This fix involves a few tweaks in the ORM adaptation logic, including a missing "parententity" adaptation on the mapper side. The specific mechanics here have a lot of moving parts so we will continue to add tests to assert these cases. In particular a more complete test for issue #2316 is added that was relying upon the deannotate happening here. Fixes: #8064 Change-Id: Ia85dd12dcf6e7c002b30de4a27d7aa66cb3cd20e
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/_psycopg_common.py')
0 files changed, 0 insertions, 0 deletions