Skip to content

Commit 88448fc

Browse files
committed
group() now takes the meta_array
1 parent 6ed4d78 commit 88448fc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

zarr/hierarchy.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,8 @@ def group(
13601360
synchronizer=None,
13611361
path=None,
13621362
*,
1363-
zarr_version=None
1363+
zarr_version=None,
1364+
meta_array=None
13641365
):
13651366
"""Create a group.
13661367
@@ -1382,6 +1383,11 @@ def group(
13821383
Array synchronizer.
13831384
path : string, optional
13841385
Group path within store.
1386+
meta_array : array-like, optional
1387+
An array instance to use for determining arrays to create and return
1388+
to users. Use `numpy.empty(())` by default.
1389+
1390+
.. versionadded:: 2.16.1
13851391
13861392
Returns
13871393
-------
@@ -1432,6 +1438,7 @@ def group(
14321438
synchronizer=synchronizer,
14331439
path=path,
14341440
zarr_version=zarr_version,
1441+
meta_array=meta_array,
14351442
)
14361443

14371444

0 commit comments

Comments
 (0)