Skip to content

Commit 085efe9

Browse files
committed
format
1 parent 36146e5 commit 085efe9

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
@@ -3850,8 +3850,8 @@ async def from_array(
38503850
filters = data.filters
38513851
if compressors is None:
38523852
compressors = data.compressors
3853-
if serializer is "auto" and data.serializer is not None:
3854-
serializer = data.serializer
3853+
if serializer == "auto":
3854+
serializer = cast(SerializerLike, data.serializer)
38553855
if fill_value is None:
38563856
fill_value = data.fill_value
38573857
if order is None:

0 commit comments

Comments
 (0)