haystack icon indicating copy to clipboard operation
haystack copied to clipboard

Update serialization and deserialization in Pipeline checkpoints using new se/de utility functions

Open davidsbatista opened this issue 7 months ago • 1 comments

  • https://github.com/deepset-ai/haystack-experimental/blob/main/haystack_experimental/core/pipeline/pipeline.py#L93

davidsbatista avatar May 30 '25 13:05 davidsbatista

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.

sjrl avatar May 30 '25 13:05 sjrl