Skip to content

Commit 65f3f8e

Browse files
d-v-bclaude
andcommitted
docs(group): say what consolidated metadata stores for an upgraded array
Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 4b9f82c commit 65f3f8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/zarr/core/group.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ class ConsolidatedMetadata:
148148

149149
def to_dict(self) -> dict[str, JSON]:
150150
"""The consolidated metadata document. An array read from a stored document that
151-
had to be upgraded is written as that document was stored: only the array's
152-
own first chunk write stores its upgrade."""
151+
had to be upgraded is written as that document was stored, so every reader of
152+
the consolidated metadata reads it as upgraded again (see `mark_upgraded`)."""
153153
return {
154154
"kind": self.kind,
155155
"must_understand": self.must_understand,

0 commit comments

Comments
 (0)