]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
pass more contextual information to PyWrapper param create
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 27 Dec 2022 17:29:38 +0000 (12:29 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 27 Dec 2022 19:05:15 +0000 (14:05 -0500)
commit4c80fad2968c7a5953809a9c030886a03151a514
treedba88e94051a02e451270dec67c173fc9f41eacb
parent667e2e6d62dcdff8e08eec6dd76c25815dfc03cd
pass more contextual information to PyWrapper param create

Fixed issue in lambda SQL feature where the calculated type of a literal
value would not take into account the type coercion rules of the "compared
to type", leading to a lack of typing information for SQL expressions, such
as comparisons to :class:`.JSON` elements and similar.

Fixes: #9029
Change-Id: I381c8d7458d98ba762313dee9ec47a9c1881f74a
(cherry picked from commit f63d7e33ec785a5ea4fbc77963c537be26b8419b)
doc/build/changelog/unreleased_14/9029.rst [new file with mode: 0644]
lib/sqlalchemy/sql/coercions.py
lib/sqlalchemy/sql/lambdas.py
regen_callcounts.tox.ini
test/profiles.txt
test/sql/test_lambdas.py