]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
revise approach for bundle deduping
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 4 May 2024 14:38:48 +0000 (10:38 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 4 May 2024 14:44:01 +0000 (10:44 -0400)
commitcbc2b9c99b2ba60d71f06bb0249e907f8f72fda7
tree803aa14842470a79c50c1635862fdc8d66a5e3ee
parent4e1c09236fc6a2ed82421893cd9cb0bb0ec64a27
revise approach for bundle deduping

Revise the approach from 7d6d7ef73 to make a special case for
Bundle-targeted columns entirely, and don't involve the
_label_convention() callable.   Add tests for select() with
tablename labeling convention.

Fixes: #11347
Change-Id: I1d15523de5709d45b2b69bc17724831ac3425791
(cherry picked from commit 83f8dd53e362c3ea7562c0076add044740d2c4cc)
lib/sqlalchemy/orm/context.py
lib/sqlalchemy/sql/selectable.py
test/orm/test_bundle.py