diff options
Diffstat (limited to 'lib/sqlalchemy/sql/_elements_constructors.py')
| -rw-r--r-- | lib/sqlalchemy/sql/_elements_constructors.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/_elements_constructors.py b/lib/sqlalchemy/sql/_elements_constructors.py index 4f6ff0688..9d15cdcc3 100644 --- a/lib/sqlalchemy/sql/_elements_constructors.py +++ b/lib/sqlalchemy/sql/_elements_constructors.py @@ -35,6 +35,7 @@ from .elements import FunctionFilter from .elements import Label from .elements import Null from .elements import Over +from .elements import SQLCoreOperations from .elements import TextClause from .elements import True_ from .elements import Tuple @@ -1228,7 +1229,7 @@ def nulls_last(column): return UnaryExpression._create_nulls_last(column) -def or_(*clauses): +def or_(*clauses: SQLCoreOperations) -> BooleanClauseList: """Produce a conjunction of expressions joined by ``OR``. E.g.:: |
