We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdad61e commit b287870Copy full SHA for b287870
db_dtypes/json.py
@@ -96,7 +96,7 @@ def __init__(self, values) -> None:
96
else:
97
raise NotImplementedError(f"Unsupported pandas version: {pd.__version__}")
98
99
- def __arrow_array__(self):
+ def __arrow_array__(self, type=None):
100
"""Convert to an arrow array. This is required for pyarrow extension."""
101
return self.pa_data
102
@@ -279,9 +279,6 @@ def __arrow_ext_serialize__(self) -> bytes:
279
def __arrow_ext_deserialize__(cls, storage_type, serialized) -> JSONArrowType:
280
return JSONArrowType()
281
282
- def __hash__(self) -> int:
283
- return hash(str(self))
284
-
285
def to_pandas_dtype(self):
286
return JSONDtype()
287
0 commit comments