Skip to content

Commit d53d153

Browse files
committed
revert mangling of create overloads
1 parent 1c9f9fe commit d53d153

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/zarr/core/array.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,6 @@ async def create(
396396
config: ArrayConfigLike | None = None,
397397
) -> AsyncArray[ArrayV2Metadata]: ...
398398

399-
# this overload defines the function signature when zarr_format is 3
400399
@overload
401400
@classmethod
402401
async def create(
@@ -434,7 +433,7 @@ async def create(
434433
# v2 and v3
435434
shape: ShapeLike,
436435
dtype: ZDTypeLike,
437-
zarr_format: ZarrFormat = 3,
436+
zarr_format: ZarrFormat,
438437
fill_value: Any | None = DEFAULT_FILL_VALUE,
439438
attributes: dict[str, JSON] | None = None,
440439
# v3 only

0 commit comments

Comments
 (0)