Skip to content

Commit fc4dc75

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent bb19dcc commit fc4dc75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/core/chunk_key_encodings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ChunkKeyEncoding(ABC, Metadata):
4242
@classmethod
4343
def from_dict(cls, data: dict[str, JSON]) -> Self:
4444
_, config_parsed = parse_named_configuration(data, require_configuration=False)
45-
return cls(**config_parsed if config_parsed else {})
45+
return cls(**config_parsed or {})
4646

4747
def to_dict(self) -> dict[str, JSON]:
4848
return {"name": self.name, "configuration": super().to_dict()}

0 commit comments

Comments
 (0)