haystack
haystack copied to clipboard
Update serialization and deserialization in Pipeline checkpoints using new se/de utility functions
- https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/core/pipeline/pipeline.py#L93
Additional context from this issue https://github.com/deepset-ai/haystack/issues/9460
Some unserializable keys in dataclasses were addressed in this PR. We should revisit the corresponding logic in the experimental repo: pipeline.py#L460.
A utility method for serializing and deserializing values has been added in the core repository via this PR. The equivalent functionality in the pipeline logic can now be removed.