Ask a question to get started
Enter to send•Shift+Enter new line
RedisStore( self, *, client: Any = None, redis_url: Optional[str]
ByteStore
client
Any
None
A Redis connection instance
redis_url
Optional[str]
redis url
client_kwargs
Optional[dict]
ttl
Optional[int]
namespace
Get the values associated with the given keys.
Set the given key-value pairs.
Delete the given keys.
Yield keys in the store.
BaseStore implementation using Redis as the underlying store.
Keyword arguments to pass to the Redis client
time to expire keys in seconds if provided, if None keys will never expire
if provided, all keys will be prefixed with this namespace