Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/2720.doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document removal of `zarr.storage.init_group` in v3 migration guide, with replacement using `zarr.open_group`/`zarr.create_group`.
9 changes: 9 additions & 0 deletions docs/user-guide/v3_migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,15 @@ The following sections provide details on breaking changes in Zarr-Python 3.
- Use [`zarr.Group.require_array`][] in place of `zarr.Group.require_dataset`
3. Disallow "." syntax for getting group members. To get a member of a group named `foo`,
use `group["foo"]` in place of `group.foo`.
4. The `zarr.storage.init_group` low-level helper function has been removed. Use
[`zarr.open_group`][] or [`zarr.create_group`][] instead:

```diff
- from zarr.storage import init_group
- init_group(store, overwrite=True, path="my/path")
+ import zarr
+ zarr.open_group(store, mode="w", path="my/path")
```

### The Store class

Expand Down
Loading