Ask a question to get started
Enter to sendā¢Shift+Enter new line
class ShallowRedisSaver
BaseCheckpointSaver
Delete all checkpoints and writes associated with a specific thread ID.
Generate the next version ID for a channel.
Default is to use integer versions, incrementing by 1. If you override, you can use str/int/float versions, as long as they are monotonically increasing.
Store intermediate writes linked to a checkpoint.
ShallowRedisSaver - A Redis checkpoint saver that only keeps the latest checkpoint per thread.
This is a memory-optimized variant that: