We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 680569f commit ced96d1Copy full SHA for ced96d1
lib/sqlalchemy/sql/elements.py
@@ -696,7 +696,7 @@ def _compile_w_cache(
696
697
return compiled_sql, extracted_params, cache_hit
698
699
- def __invert__(self) -> ClauseElement:
+ def __invert__(self) -> Union[operators.Operators, ClauseElement]:
700
# undocumented element currently used by the ORM for
701
# relationship.contains()
702
if hasattr(self, "negation_clause"):
@@ -3936,7 +3936,7 @@ class GroupedElement(DQLDMLClauseElement):
3936
3937
def self_group(
3938
self, against: Optional[OperatorType] = None
3939
- ) -> GroupedElement:
+ ) -> ClauseElement:
3940
return self
3941
3942
def _ungroup(self) -> ClauseElement:
0 commit comments