zarr.abc.metadata#

Classes#

Module Contents#

class zarr.abc.metadata.Metadata[source]#
classmethod from_dict(data: dict[str, zarr.core.common.JSON]) Self[source]#

Create an instance of the model from a dictionary

to_dict() dict[str, zarr.core.common.JSON][source]#

Recursively serialize this model to a dictionary. This method inspects the fields of self and calls x.to_dict() for any fields that are instances of Metadata. Sequences of Metadata are similarly recursed into, and the output of that recursion is collected in a list.