redis.flushall()
Deletes all keys permanently. Use with caution!

Arguments

flush_type
"ASYNC" | "SYNC"
Whether to perform the operation asynchronously. Defaults to synchronous.
redis.flushall()