How to Serialize and Restore Execution Context
Goal
Persist workflow state for debugging, recovery, and transport.
Workflow
Serialize context with
to_json().Store the serialized payload.
Restore it with
from_json(...)and optionaldata_cls.
Reference
See Getting Started for examples.