]> 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:04:19 +0000 (14:04 -0500)
commit502df8a4730abf999546e1910270004c194b0c08
treeb7c7e4ed5bbb253c5405100efba84f048f5b7b24
parent10123d86ba02c53960ad3234e4d03b7e31b6756b
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
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