Skip to content

Commit b287870

Browse files
committed
trying
1 parent fdad61e commit b287870

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

db_dtypes/json.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def __init__(self, values) -> None:
9696
else:
9797
raise NotImplementedError(f"Unsupported pandas version: {pd.__version__}")
9898

99-
def __arrow_array__(self):
99+
def __arrow_array__(self, type=None):
100100
"""Convert to an arrow array. This is required for pyarrow extension."""
101101
return self.pa_data
102102

@@ -279,9 +279,6 @@ def __arrow_ext_serialize__(self) -> bytes:
279279
def __arrow_ext_deserialize__(cls, storage_type, serialized) -> JSONArrowType:
280280
return JSONArrowType()
281281

282-
def __hash__(self) -> int:
283-
return hash(str(self))
284-
285282
def to_pandas_dtype(self):
286283
return JSONDtype()
287284

0 commit comments

Comments
 (0)