redis.set("key1", "Hello")
redis.set("key2", "World")
redis.delete("key1", "key2")

assert redis.get("key1") is None
assert redis.get("key2") is None

Arguments

keys
*List[str]
required

One or more keys to remove.

Response

The number of keys that were removed.