Skip to content

Commit fbdce06

Browse files
[EQL] remove unneeded __contains__ override.
1 parent 64021f6 commit fbdce06

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/krrood/entity_query_language/symbolic.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,6 @@ def __call__(self, *args, **kwargs) -> CanBehaveLikeAVariable[T]:
420420
def __eq__(self, other) -> Comparator:
421421
return Comparator(self, other, operator.eq)
422422

423-
def __contains__(self, item) -> Comparator:
424-
return Comparator(item, self, operator.contains)
425-
426423
def __ne__(self, other) -> Comparator:
427424
return Comparator(self, other, operator.ne)
428425

0 commit comments

Comments
 (0)