@@ -1176,7 +1176,7 @@ def contains(self, other: Any, **kw: Any) -> ColumnElement[bool]:
11761176 ** {self .value_attr : other }
11771177 )
11781178
1179- def __eq__ (self , obj : Any ) -> ColumnElement [bool ]: # type: ignore[override] # noqa E501
1179+ def __eq__ (self , obj : Any ) -> ColumnElement [bool ]: # type: ignore[override] # noqa: E501
11801180 # note the has() here will fail for collections; eq_()
11811181 # is only allowed with a scalar.
11821182 if obj is None :
@@ -1187,7 +1187,7 @@ def __eq__(self, obj: Any) -> ColumnElement[bool]: # type: ignore[override] #
11871187 else :
11881188 return self ._comparator .has (** {self .value_attr : obj })
11891189
1190- def __ne__ (self , obj : Any ) -> ColumnElement [bool ]: # type: ignore[override] # noqa E501
1190+ def __ne__ (self , obj : Any ) -> ColumnElement [bool ]: # type: ignore[override] # noqa: E501
11911191 # note the has() here will fail for collections; eq_()
11921192 # is only allowed with a scalar.
11931193 return self ._comparator .has (
@@ -1203,7 +1203,7 @@ class ColumnAssociationProxyInstance(AssociationProxyInstance[_T]):
12031203 _target_is_object : bool = False
12041204 _is_canonical = True
12051205
1206- def __eq__ (self , other : Any ) -> ColumnElement [bool ]: # type: ignore[override] # noqa E501
1206+ def __eq__ (self , other : Any ) -> ColumnElement [bool ]: # type: ignore[override] # noqa: E501
12071207 # special case "is None" to check for no related row as well
12081208 expr = self ._criterion_exists (
12091209 self .remote_attr .operate (operators .eq , other )
0 commit comments