@@ -527,14 +527,6 @@ def __init__(self, name, type_, value):
527
527
self .type_ = type_
528
528
self .value = value
529
529
530
- def __eq__ (self , other ):
531
- if not isinstance (other , ScalarQueryParameter ):
532
- return NotImplemented
533
- return (
534
- self .name == other .name and
535
- self .type_ == other .type_ and
536
- self .value == other .value )
537
-
538
530
@classmethod
539
531
def positional (cls , type_ , value ):
540
532
"""Factory for positional paramater.
@@ -637,14 +629,6 @@ def __init__(self, name, array_type, values):
637
629
self .array_type = array_type
638
630
self .values = values
639
631
640
- def __eq__ (self , other ):
641
- if not isinstance (other , ArrayQueryParameter ):
642
- return NotImplemented
643
- return (
644
- self .name == other .name and
645
- self .array_type == other .array_type and
646
- self .values == other .values )
647
-
648
632
@classmethod
649
633
def positional (cls , array_type , values ):
650
634
"""Factory for positional parameters.
@@ -789,14 +773,6 @@ def __init__(self, name, *sub_params):
789
773
types [sub .name ] = sub .type_
790
774
values [sub .name ] = sub .value
791
775
792
- def __eq__ (self , other ):
793
- if not isinstance (other , StructQueryParameter ):
794
- return NotImplemented
795
- return (
796
- self .name == other .name and
797
- self .struct_types == other .struct_types and
798
- self .struct_values == other .struct_values )
799
-
800
776
@classmethod
801
777
def positional (cls , * sub_params ):
802
778
"""Factory for positional parameters.
0 commit comments