We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba2ad18 commit 80d6679Copy full SHA for 80d6679
1 file changed
changes/2874.feature.rst
@@ -13,7 +13,8 @@ fields on the ``ArrayV2Metadata`` and ``ArrayV3Metadata`` classes. Previously, `
13
was a NumPy ``dtype`` object, and ``ArrayV3Metadata.data_type`` was an internally-defined ``enum``.
14
After this change, both ``ArrayV2Metadata.dtype`` and ``ArrayV3Metadata.data_type`` are instances of
15
``ZDType``. A NumPy data type can be generated from a ``ZDType`` via the ``ZDType.to_native_dtype()``
16
-method. The internally-defined Zarr V3 ``enum`` class is gone entirely, but the ``ZDType._zarr_v3_name``
17
-attribute contains the string value previously associated with that ``enum``.
+method. The internally-defined Zarr V3 ``enum`` class is gone entirely, but the ``ZDType.to_json(zarr_format=3)``
+method can be used to generate a dictionary that has a ``name`` field that contains the string value
18
+previously associated with that ``enum``.
19
20
For more on this new feature, see the `documentation </user-guide/data_types.html>`_
0 commit comments