]> 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:33:58 +0000 (12:33 +0200)
commitccfec76b829e7eccd9e08d7f757da3590497f197
treec939c1c0a1ea9e0e379c4a8d4812a4b00fbddfe3
parentb35bbdb13be9a359fc3cfae00e2b6fdca63dea29
Support lambda expression in mypy plugin

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

Fixes: #8196
Change-Id: I7346c693519b024c56156db6f4ffc9a45bb748d3
doc/build/changelog/unreleased_14/8196.rst [new file with mode: 0644]
lib/sqlalchemy/ext/mypy/infer.py
test/ext/mypy/plugin_files/lambda_default.py [new file with mode: 0644]