@@ -386,7 +386,7 @@ def __repr__(self):
386
386
387
387
def __eq__ (self , other ):
388
388
return super (CollectionQuery , self ).__eq__ (other ) and \
389
- self .subqueries == other .subqueries
389
+ self .subqueries == other .subqueries
390
390
391
391
def __hash__ (self ):
392
392
"""Since subqueries are mutable, this object should not be hashable.
@@ -426,7 +426,7 @@ def __repr__(self):
426
426
427
427
def __eq__ (self , other ):
428
428
return super (AnyFieldQuery , self ).__eq__ (other ) and \
429
- self .query_class == other .query_class
429
+ self .query_class == other .query_class
430
430
431
431
def __hash__ (self ):
432
432
return hash ((self .pattern , tuple (self .fields ), self .query_class ))
@@ -489,7 +489,7 @@ def __repr__(self):
489
489
490
490
def __eq__ (self , other ):
491
491
return super (NotQuery , self ).__eq__ (other ) and \
492
- self .subquery == other .subquery
492
+ self .subquery == other .subquery
493
493
494
494
def __hash__ (self ):
495
495
return hash (('not' , hash (self .subquery )))
@@ -855,7 +855,7 @@ def __hash__(self):
855
855
856
856
def __eq__ (self , other ):
857
857
return super (MultipleSort , self ).__eq__ (other ) and \
858
- self .sorts == other .sorts
858
+ self .sorts == other .sorts
859
859
860
860
861
861
class FieldSort (Sort ):
@@ -893,8 +893,8 @@ def __hash__(self):
893
893
894
894
def __eq__ (self , other ):
895
895
return super (FieldSort , self ).__eq__ (other ) and \
896
- self .field == other .field and \
897
- self .ascending == other .ascending
896
+ self .field == other .field and \
897
+ self .ascending == other .ascending
898
898
899
899
900
900
class FixedFieldSort (FieldSort ):
0 commit comments