Skip to content

Commit 73dbeb8

Browse files
committed
Add bugfix entry
1 parent b330dbd commit 73dbeb8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

changes/3232.bugfix.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fix the type of ``ArrayV2Metadata.codec`` to constrain it to ``numcodecs.abc.Codec | None``.
2+
Previously the type was more permissive, allowing objects that can be parsed into Codecs (e.g., the codec name).
3+
The constructor of ``ArrayV2Metadata`` still allows the permissive input when creating new objects.

0 commit comments

Comments
 (0)