diff --git a/bigquery/google/cloud/bigquery/_helpers.py b/bigquery/google/cloud/bigquery/_helpers.py index abe7a8934c96..51000148fb0b 100644 --- a/bigquery/google/cloud/bigquery/_helpers.py +++ b/bigquery/google/cloud/bigquery/_helpers.py @@ -527,14 +527,6 @@ def __init__(self, name, type_, value): self.type_ = type_ self.value = value - def __eq__(self, other): - if not isinstance(other, ScalarQueryParameter): - return NotImplemented - return( - self.name == other.name and - self.type_ == other.type_ and - self.value == other.value) - @classmethod def positional(cls, type_, value): """Factory for positional paramater. @@ -637,14 +629,6 @@ def __init__(self, name, array_type, values): self.array_type = array_type self.values = values - def __eq__(self, other): - if not isinstance(other, ArrayQueryParameter): - return NotImplemented - return( - self.name == other.name and - self.array_type == other.array_type and - self.values == other.values) - @classmethod def positional(cls, array_type, values): """Factory for positional parameters. @@ -789,14 +773,6 @@ def __init__(self, name, *sub_params): types[sub.name] = sub.type_ values[sub.name] = sub.value - def __eq__(self, other): - if not isinstance(other, StructQueryParameter): - return NotImplemented - return( - self.name == other.name and - self.struct_types == other.struct_types and - self.struct_values == other.struct_values) - @classmethod def positional(cls, *sub_params): """Factory for positional parameters.