Get a checkpoint tuple from the database. This method retrieves a checkpoint tuple from the Postgres database based on the provided config. If the config's configurable field contains a "checkpoint_id" key, the checkpoint with the matching thread_id and namespace is retrieved. Otherwise, the latest checkpoint for the given thread_id is retrieved.
getTuple(config: RunnableConfig): Promise<CheckpointTuple | undefined>| Name | Type | Description |
|---|---|---|
config* | RunnableConfig | The config to use for retrieving the checkpoint. |