Skip to content

ShardingCodec cannot be pickled #1990

Closed
@d-v-b

Description

@d-v-b

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIssue could use help from someone with familiarity on the topic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions