Skip to content

Commit b649f81

Browse files
committed
add kwargs for as_py()
1 parent 203d344 commit b649f81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

db_dtypes/json.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ def __array__(self, dtype=None, copy: bool | None = None) -> np.ndarray:
257257

258258

259259
class JSONArrowScalar(pa.ExtensionScalar):
260-
def as_py(self):
261-
return JSONArray._deserialize_json(self.value.as_py() if self.value else None)
260+
def as_py(self, **kwargs):
261+
return JSONArray._deserialize_json(self.value.as_py(**kwargs) if self.value else None)
262262

263263

264264
class JSONArrowType(pa.ExtensionType):

0 commit comments

Comments
 (0)