A task entry within a CheckpointPayload.
The keys present depend on the task's state:
id, name, error, stateid, name, result, interrupts, stateid, name, interrupts, stateCheckpointTask()| Name | Type |
|---|---|
| id | str |
| name | str |
| error | NotRequired[str] |
| result | NotRequired[Any] |
| interrupts | NotRequired[list[dict]] |
| state | StateSnapshot | RunnableConfig | None |
Unique identifier for this task.
Name of the node being executed.
Error message, present only if the task failed.
Result of the task, present only if the task completed successfully.
List of interrupts, present when the task has been interrupted or completed.
Snapshot of the subgraph state, or a RunnableConfig pointing to it. None if not a subgraph.