aput(
self,
config: RunnableConfig,
checkpoint: Checkpoint,
metadata: CheckpointMetadata,
new_versions: | Name | Type | Description |
|---|---|---|
config* | RunnableConfig | |
checkpoint* | Checkpoint | |
metadata* | CheckpointMetadata | |
new_versions* | ChannelVersions |
Save a checkpoint to the database asynchronously.
This method saves a checkpoint to the Postgres database. The checkpoint is associated with the provided config. For AsyncShallowPostgresSaver, this method saves ONLY the most recent checkpoint and overwrites a previous checkpoint, if it exists.
The config to associate with the checkpoint.
The checkpoint to save.
Additional metadata to save with the checkpoint.
New channel versions as of this write.