]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Improve typing to the count function.
authorFederico Caselli <cfederico87@gmail.com>
Wed, 24 Apr 2024 19:47:01 +0000 (21:47 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 25 Apr 2024 19:43:05 +0000 (19:43 +0000)
commit584094a4384e305093dfffc56648626b9659cdf7
tree0f9b7bda23308ca85c43746045b2624f71099b0e
parent89beea896a457fc4cd8b0a985ecb82c6eb6cca9b
Improve typing to the count function.

Improve typing to allow `'*'` and 1 in the count function.

Fixes: #11316
Change-Id: Iaafdb779b6baa70504154099f0b9554c612a9ffa
(cherry picked from commit 55fb04f10c0aeee7ace984dbe66642a1286594de)
.gitignore
lib/sqlalchemy/sql/_typing.py
lib/sqlalchemy/sql/functions.py
test/typing/plain_files/sql/functions.py