diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-05-10 16:44:02 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-05-10 16:44:02 -0400 |
| commit | 32fc4f3de20c9d983742b064e47f591342c42de2 (patch) | |
| tree | e30a246cc491b2bf322bb62b4d9276e5991ffd86 /lib/sqlalchemy | |
| parent | 4f52073370ae2a563fdc3fe05d87ee1ea4ee901d (diff) | |
| download | sqlalchemy-32fc4f3de20c9d983742b064e47f591342c42de2.tar.gz | |
add missing docs
ColumnExpressionArgument, as well as Oracle datatypes
mentioned in the changelog
Change-Id: I9496de9a1092af21f84492ff9d91a0cefb1a8a5b
Diffstat (limited to 'lib/sqlalchemy')
| -rw-r--r-- | lib/sqlalchemy/sql/_typing.py | 5 | ||||
| -rw-r--r-- | lib/sqlalchemy/sql/expression.py | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/_typing.py b/lib/sqlalchemy/sql/_typing.py index 9e83c3f42..513ce78d4 100644 --- a/lib/sqlalchemy/sql/_typing.py +++ b/lib/sqlalchemy/sql/_typing.py @@ -186,8 +186,11 @@ typically represent a single SQL column expression, not a set of columns the way a table or ORM entity does. This includes ColumnElement, or ORM-mapped attributes that will have a -`__clause_element__()` method, it also has the ExpressionElementRole +``__clause_element__()`` method, it also has the ExpressionElementRole overall which brings in the TextClause object also. + +.. versionadded:: 2.0.13 + """ _ColumnExpressionOrLiteralArgument = Union[Any, _ColumnExpressionArgument[_T]] diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py index 4fa9cda00..f1cb4c276 100644 --- a/lib/sqlalchemy/sql/expression.py +++ b/lib/sqlalchemy/sql/expression.py @@ -61,6 +61,7 @@ from ._selectable_constructors import tablesample as tablesample from ._selectable_constructors import union as union from ._selectable_constructors import union_all as union_all from ._selectable_constructors import values as values +from ._typing import ColumnExpressionArgument as ColumnExpressionArgument from .base import _from_objects as _from_objects from .base import _select_iterables as _select_iterables from .base import ColumnCollection as ColumnCollection |
