zarr-python icon indicating copy to clipboard operation
zarr-python copied to clipboard

ShardingCodec cannot be pickled

Open d-v-b opened this issue 7 months ago • 0 comments

Because it uses lru_cache and we have not implemented the requisite dunder methods for object serialization to make it pickleable, which is not hard according to internet wisdom .

todo:

  • add tests for pickleability for the ingredients of Array and Group classes
  • implement __getstate__ and __setstate__ as needed to make failing tests pass

d-v-b avatar Jun 25 '24 08:06 d-v-b