]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
generate stubs for func known functions
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Jan 2023 20:17:44 +0000 (15:17 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 23 Jan 2023 16:17:38 +0000 (11:17 -0500)
commit6499098e36497d15d5972696983ce0ae4cc99409
tree776264381311877c540f26656221ff637a0c5f8e
parent2f91dd79310657814ad28b6ef64f91fff7a007c9
generate stubs for func known functions

Added typing for the built-in generic functions that are available from the
:data:`_sql.func` namespace, which accept a particular set of arguments and
return a particular type, such as for :class:`_sql.count`,
:class:`_sql.current_timestamp`, etc.

Fixes: #9129
Change-Id: I1a2e0dcca3048c77e84dc786843a7df05c457dfa
doc/build/changelog/unreleased_20/9129.rst [new file with mode: 0644]
lib/sqlalchemy/sql/functions.py
test/ext/mypy/plain_files/functions.py [new file with mode: 0644]
tools/generate_sql_functions.py [new file with mode: 0644]
tox.ini