Skip to content

allow missing 'configuration' in chunk_key_encodingΒ #2025

@joshmoore

Description

@joshmoore

Similar to #2024, the "configuration" key of chunk_key_encoding is optional. If it's missing, a ValueError is raised:

  File "/Users/jamoore/opt/challenge/zarr-python/src/zarr/common.py", line 130, in parse_named_configuration
    raise ValueError(f"Named configuration does not have a 'configuration' key. Got {data}.")
ValueError: Named configuration does not have a 'configuration' key. Got {'name': 'default'}.

cc: @d-v-b

Edit: data was originally written by tensorstore

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions