Skip to content

Commit 39e16da

Browse files
committed
Add default value to init_array config param. Update docstring.
1 parent 6a546d6 commit 39e16da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zarr/core/array.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4206,7 +4206,7 @@ async def init_array(
42064206
chunk_key_encoding: ChunkKeyEncodingLike | None = None,
42074207
dimension_names: DimensionNames = None,
42084208
overwrite: bool = False,
4209-
config: ArrayConfigLike | None,
4209+
config: ArrayConfigLike | None = None,
42104210
) -> AsyncArray[ArrayV3Metadata] | AsyncArray[ArrayV2Metadata]:
42114211
"""Create and persist an array metadata document.
42124212
@@ -4287,7 +4287,7 @@ async def init_array(
42874287
overwrite : bool, default False
42884288
Whether to overwrite an array with the same name in the store, if one exists.
42894289
config : ArrayConfigLike or None, optional
4290-
Configuration for this array.
4290+
Configuration for this array (default is None).
42914291
42924292
Returns
42934293
-------

0 commit comments

Comments
 (0)