We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 058f580 commit 72a185aCopy full SHA for 72a185a
src/zarr/codecs/sharding.py
@@ -380,8 +380,8 @@ def to_dict(self) -> dict[str, JSON]:
380
"name": "sharding_indexed",
381
"configuration": {
382
"chunk_shape": self.chunk_shape,
383
- "codecs": tuple([s.to_dict() for s in self.codecs]),
384
- "index_codecs": tuple([s.to_dict() for s in self.index_codecs]),
+ "codecs": tuple(s.to_dict() for s in self.codecs),
+ "index_codecs": tuple(s.to_dict() for s in self.index_codecs),
385
"index_location": self.index_location.value,
386
},
387
}
0 commit comments