Skip to content

feature(zarr-metadata): partial metadata #3960

@d-v-b

Description

@d-v-b

The array / group metadata classes in zarr-metadata model the required / not required fields in array / group metadata documents. But there are situations where it's useful to mark all fields as not required, e.g. for a function update_metadata(old_metadata: ArrayMetadataV3, changes: ArrayMetadataUpdateV3) -> ArrayMetadataV3, or for cases (often in tests) where you only need to construct a subset of a metadata document.

So zarr-metadata should add variants of the core metadata documents where all fields are NotRequired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions