aput(
self,
config: RunnableConfig,
checkpoint: Checkpoint,
metadata: CheckpointMetadata,
new_versions: | Name | Type | Description |
|---|---|---|
config* | RunnableConfig | The config to associate with the checkpoint. |
checkpoint* | Checkpoint | The checkpoint to save. |
metadata* | CheckpointMetadata | Additional metadata to save with the checkpoint. |
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.
New channel versions as of this write.