alist(
self,
config: RunnableConfig | None,
*,
filter: dict[str,| Name | Type | Description |
|---|---|---|
config* | RunnableConfig | None | Base configuration for filtering checkpoints. |
filter | dict[str, Any] | None | Default: NoneAdditional filtering criteria for metadata. |
before | RunnableConfig | None | Default: None |
limit | int | None | Default: None |
List checkpoints from the database asynchronously.
This method retrieves a list of checkpoint tuples from the SQLite database based on the provided config. The checkpoints are ordered by checkpoint ID in descending order (newest first).
If provided, only checkpoints before the specified checkpoint ID are returned.
Maximum number of checkpoints to return.