📅  最后修改于: 2022-03-11 15:01:09.791000             🧑  作者: Mango
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.