We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Self
TypeVar
1 parent e705f39 commit cb068fdCopy full SHA for cb068fd
lib/sqlalchemy/sql/elements.py
@@ -107,8 +107,6 @@
107
from .selectable import FromClause
108
from .selectable import NamedFromClause
109
from .selectable import TextualSelect
110
- from .selectable import Select
111
- from .sqltypes import ARRAY
112
from .sqltypes import Boolean
113
from .sqltypes import NullType
114
from .sqltypes import String
@@ -421,10 +419,10 @@ def _clone(self, **kw: Any) -> Self:
421
419
return c
422
420
423
def _negate_in_binary(
424
- self: SelfClauseElement,
+ self,
425
negated_op: OperatorType,
426
original_op: OperatorType,
427
- ) -> SelfClauseElement:
+ ) -> Self:
428
"""a hook to allow the right side of a binary expression to respond
429
to a negation of the binary expression.
430
0 commit comments