Skip to content

Commit 1027f2c

Browse files
committed
don't use the system's default in from_dict
1 parent cfad862 commit 1027f2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/zarr/codecs/bytes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def from_dict(cls, data: dict[str, JSON]) -> Self:
5050
data, "bytes", require_configuration=False
5151
)
5252
configuration_parsed = configuration_parsed or {}
53+
configuration_parsed.setdefault("endian", None)
5354
return cls(**configuration_parsed) # type: ignore[arg-type]
5455

5556
def to_dict(self) -> dict[str, JSON]:

0 commit comments

Comments
 (0)