]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support lambda expression in mypy plugin
authorCyril Chapellier <tchapi@users.noreply.github.com>
Thu, 30 Jun 2022 12:59:38 +0000 (14:59 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Sat, 2 Jul 2022 10:34:13 +0000 (12:34 +0200)
commit80580991ecebeb173df1e8dcf716508309f60883
treec0eda4b799ea8bcf845a1dec9467d76b3a448f8e
parent94ebf90449206d8d1c9a13746cf3e107fa65c4d1
Support lambda expression in mypy plugin

Avoid `error: INTERNAL ERROR` when the default is a lambda

Fixes: #8196
Change-Id: I7346c693519b024c56156db6f4ffc9a45bb748d3
(cherry picked from commit 472dc0735c4d9385b05e5e2088dad9f507a59a63)
doc/build/changelog/unreleased_14/8196.rst [new file with mode: 0644]
lib/sqlalchemy/ext/mypy/infer.py
test/ext/mypy/files/lambda_default.py [new file with mode: 0644]