Skip to content

Support serialization and deserialization of Pydantic BaseModel when creating a PipelineSnaphsot #9877

@anakin87

Description

@anakin87

Sometimes it is useful to support Pydantic BaseModels as pipeline/component inputs/outputs.

We don't currently serialize them by default and this could make them incompatible with the breakpoint/snapshot feature.

We should do something similar to #9869, where support for Enum was added.

@sjrl feel free to correct this or add details.

Metadata

Metadata

Assignees

Labels

P1High priority, add to the next sprint

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions