diff options
| author | Stephen Rosen <sirosen@globus.org> | 2023-03-14 14:18:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-14 20:18:14 +0100 |
| commit | 79b6a41d257b0fda6e8dbb42547c050b0fd1e5de (patch) | |
| tree | 14793b993691376a366d9b05eec9e359848e0b9e /lib/sqlalchemy/engine/create.py | |
| parent | 9f1b6ae053f5513bbf0ce221ed9ab4fb9d8e0ca7 (diff) | |
| download | sqlalchemy-79b6a41d257b0fda6e8dbb42547c050b0fd1e5de.tar.gz | |
Document generic type parameters to FunctionElement and GenericFunction (#9079)
* Document type parameters to FunctionElement
Add a note to FunctionElement which indicates that the type is a
typing.Generic class and points at GenericFunction examples for a
specific example usage.
A minimal reference is made to type checkers and IDEs as use-cases in
order to try to contextualize this as an optional feature which
supports particular use cases.
Append to the GenericFunction examples a case which uses `DateTime`
but also includes the generic type parameter (`datetime.datetime`).
* Fix type annotated function usage example
Diffstat (limited to 'lib/sqlalchemy/engine/create.py')
0 files changed, 0 insertions, 0 deletions
