Currently the __setstate__ method on Array just calls __init__.
|
def __setstate__(self, state): |
|
self.__init__(**state) |
And __init__ contains a call to load_metadata
|
# initialize metadata |
|
self._load_metadata() |
This really doesn't make much sense. We should serialize the metadata up with the array.
Currently the
__setstate__method onArrayjust calls__init__.zarr-python/zarr/core.py
Lines 2567 to 2568 in 6105ef2
And
__init__contains a call toload_metadatazarr-python/zarr/core.py
Lines 169 to 170 in 6105ef2
This really doesn't make much sense. We should serialize the metadata up with the array.