put(
self,
config: RunnableConfig,
checkpoint: Checkpoint,
metadata: CheckpointMetadata,
new_versions: | Name | Type | Description |
|---|---|---|
config* | RunnableConfig | |
checkpoint* | Checkpoint | |
metadata* | CheckpointMetadata | |
new_versions* | ChannelVersions |
Store a checkpoint with its configuration and metadata.
Creates Thread and Checkpoint nodes with HAS_CHECKPOINT relationship, links to parent via PREVIOUS relationship, and stores channel states with HAS_CHANNEL relationships. Also manages branch tracking for time-travel functionality.
The runnable configuration containing thread_id.
The checkpoint data to store.
Metadata about the checkpoint (source, step, etc.).
Channel version information.