This package provides key tagging and invalidation by tag features.
It provides the RedisKeyTagging
class which extends the Redis
class from
redis-py, so it can be switched seamlessly.
set()
: The new optional keyword argumenttags
, which must be a list of string, can be used to associate the key being set to each of those tags.
delete_keys_by_tag()
: Delete all keys associated with the given tag.
$ py.test