]> 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:43:17 +0000 (10:43 -0400)
commit83f8dd53e362c3ea7562c0076add044740d2c4cc
treedcedc61f61568bc8088b5f1f173133eb0a0703f6
parent60498e9185651870871aca040e223dd4f2184a0a
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
lib/sqlalchemy/orm/context.py
lib/sqlalchemy/sql/selectable.py
test/orm/test_bundle.py