From 957a7e695a3cbb980e1c6b77a1b8638d8b06c10d Mon Sep 17 00:00:00 2001 From: Osaidgit Date: Wed, 1 Apr 2026 14:11:16 +0500 Subject: [PATCH 1/2] Document kwargs in zarr.create --- src/zarr/api/synchronous.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/zarr/api/synchronous.py b/src/zarr/api/synchronous.py index 4e718a234e..16b77ed60b 100644 --- a/src/zarr/api/synchronous.py +++ b/src/zarr/api/synchronous.py @@ -773,6 +773,10 @@ def create( Runtime configuration of the array. If provided, will override the default values from `zarr.config.array`. + **kwargs + Additional keyword arguments passed through to + [`zarr.api.asynchronous.create`][]. + Returns ------- z : Array From 884f93da5439f886db134a056eb8745e7c53572f Mon Sep 17 00:00:00 2001 From: Osaidgit Date: Wed, 1 Apr 2026 14:31:27 +0500 Subject: [PATCH 2/2] Update docstring for config parameter in create() --- src/zarr/api/synchronous.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/zarr/api/synchronous.py b/src/zarr/api/synchronous.py index 16b77ed60b..ec1926eae4 100644 --- a/src/zarr/api/synchronous.py +++ b/src/zarr/api/synchronous.py @@ -770,12 +770,12 @@ def create( If using an fsspec URL to create the store, these will be passed to the backend implementation. Ignored otherwise. config : ArrayConfigLike, optional - Runtime configuration of the array. If provided, will override the - default values from `zarr.config.array`. + Runtime configuration of the array. If provided, will override the + default values from :obj:`zarr.config.array`. - **kwargs +**kwargs Additional keyword arguments passed through to - [`zarr.api.asynchronous.create`][]. + :func:`zarr.api.asynchronous.create`. Returns -------