Skip to content

refactor: Shared macro for common methods on (Async)Array and (Async)Group#40

Merged
kylebarron merged 12 commits into
mainfrom
kyle/shared-array-group-methods
Jun 22, 2026
Merged

refactor: Shared macro for common methods on (Async)Array and (Async)Group#40
kylebarron merged 12 commits into
mainfrom
kyle/shared-array-group-methods

Conversation

@kylebarron

@kylebarron kylebarron commented Jun 22, 2026

Copy link
Copy Markdown
Member

Change list

  • Refactor shared methods on sync/async array/group into a single macro, for cleaner code.
  • New metadata, consolidated_metadata, path attributes on (Async)Group
  • New PyConsolidatedMetadata type for serializing consolidated metadata
  • Turn on multiple-pymethods pyo3 feature, which allows the macro to define its own #[pymethods impl. This shouldn't be a big deal, because zarrs already brings in the inventory crate.

@kylebarron kylebarron merged commit db8447e into main Jun 22, 2026
6 checks passed
@kylebarron kylebarron deleted the kyle/shared-array-group-methods branch June 22, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant