summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/_typing.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/sql/_typing.py')
-rw-r--r--lib/sqlalchemy/sql/_typing.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/_typing.py b/lib/sqlalchemy/sql/_typing.py
index 78e196efc..a120629ca 100644
--- a/lib/sqlalchemy/sql/_typing.py
+++ b/lib/sqlalchemy/sql/_typing.py
@@ -70,6 +70,8 @@ _T = TypeVar("_T", bound=Any)
_CE = TypeVar("_CE", bound="ColumnElement[Any]")
+_CLE = TypeVar("_CLE", bound="ClauseElement")
+
class _HasClauseElement(Protocol):
"""indicates a class that has a __clause_element__() method"""