Skip to content

Python: [Feature]: Allow devs to register custom types for checkpoint serialization and deserialization #7413

Description

@TaoChenOSU

Description

In Foundry hosting agent, devs currently don't manage the checkpoint store. If they have custom types in their workflows, checkpoint serialization and deserialization will fail because the checkpoint encoding module rejects any unknown type for security concerns. There is no way to set the allowed_checkpoint_types without gaining access to the checkpoint store.

The proposed solution is similar to how agent session works. Create a global registry which will allow devs to register custom types without gaining direct access to the checkpoint storage.

Code Sample

Language/SDK

Python

Metadata

Metadata

Assignees

Labels

pythonUsage: [Issues, PRs], Target: PythonworkflowsUsage: [Issues, PRs], Target: Workflows

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions