List checkpoints from the in-memory storage.
This method retrieves a list of checkpoint tuples from the in-memory storage based on the provided criteria.
list(
self,
config: RunnableConfig | None,
*,
filter: dict[str, Any] | None = None,
before: RunnableConfig | None = None,
limit: int | None = None
) -> Iterator[CheckpointTuple]| 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: NoneList checkpoints created before this configuration. |
limit | int | None | Default: NoneMaximum number of checkpoints to return. |