difference between Redis and StrictRedis code example
Example: difference between Redis and StrictRedis
The Redis class, a subclass of StrictRedis, overrides several other commands to provide backwards compatibility with older versions of redis-py
redis-py exposes two client classes that implement these commands
The StrictRedis class attempts to adhere to the official command syntax.
Do you need backwards compatibility? Use Redis. Don't care? Use StrictRedis.
redis-py 3.0 drops support for the legacy "Redis" client class. "StrictRedis" has been renamed to "Redis"
and an alias named "StrictRedis" is provided so that users previously using "StrictRedis" can continue to run unchanged.