Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
chelsea-lin committed Jan 9, 2025
1 parent 6239bc3 commit 6a7e82d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions db_dtypes/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,15 +269,6 @@ def __arrow_ext_serialize__(self) -> bytes:
# No parameters are necessary
return b""

def __eq__(self, other):
if isinstance(other, pyarrow.BaseExtensionType):
return type(self) == type(other)
else:
return NotImplemented

def __ne__(self, other) -> bool:
return not self == other

@classmethod
def __arrow_ext_deserialize__(cls, storage_type, serialized) -> ArrowJSONType:
# return an instance of this subclass
Expand Down

0 comments on commit 6a7e82d

Please sign in to comment.