Skip to content

Export the RFC-5 metadata dataclasses at the package top level #715

Description

@vboussot

The RFC-5 metadata dataclasses are only importable from an internal path. Axis is exported at the package top level, but CoordinateSystem, CoordinateSystemIdentifier and Displacements must come from ngff_zarr.v06.zarr_metadata (checked at 0.45.0).

Code that builds RFC-5 coordinate systems and displacement declarations (the write side of what #708 covers) therefore imports an internal module that any refactor can move without a deprecation cycle, and it breaks at import time when that happens.

Exporting the three names beside Axis in __init__ would settle it. One-line change; happy to send the PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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