Skip to content

Commit fc94933

Browse files
committed
fixup
1 parent 8ad3738 commit fc94933

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/zarr/core/group.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,9 @@ def to_buffer_dict(self, prototype: BufferPrototype) -> dict[str, Buffer]:
364364

365365
items[ZMETADATA_V2_JSON] = prototype.buffer.from_bytes(
366366
json.dumps(
367-
{"metadata": d, "zarr_consolidated_format": 1}, indent=json_indent
367+
{"metadata": d, "zarr_consolidated_format": 1},
368+
indent=json_indent,
369+
default=_json_convert,
368370
).encode()
369371
)
370372

0 commit comments

Comments
 (0)