]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
propagate proxy_key from WrapsColumnExpression
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 1 Jun 2022 16:11:19 +0000 (12:11 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 1 Jun 2022 16:11:19 +0000 (12:11 -0400)
commit14250f2668151f1c4df86dbf962c771e9788111e
tree8a603f0cb5f80edbbadfa8b48fdd5636d4cbba26
parent79dbe94bb4ccd75888d57f388195a3ba4fa6117e
propagate proxy_key from WrapsColumnExpression

this allows cast() of a label() to propagate the
proxy key outwards in the same way that it apparently
works at the SQL level.

This is stuffing even more rules into naming so basically
seeing how far we can go without other cases starting
to fail.

Fixes: #8084
Change-Id: I20bd97dae798fee6492334c06934e807d0f269ef
doc/build/changelog/unreleased_14/8084.rst [new file with mode: 0644]
lib/sqlalchemy/sql/elements.py
test/sql/test_compiler.py
test/sql/test_labels.py