flask-redis
flask-redis copied to clipboard
A Flask extension for using Redis
When installing `flask-redis` via `pip`, `redis-py` gets automatically installed as a dependency of `flask-redis`. However, the correct version of `redis-py` is not defined. This package (`flask-redis==0.4.0`) works fine with `redis==3.5.3`,...
redis_client = FlaskRedis() def create_app(): app = Flask(__name__) redis_client.init_app(app) return app Call redis_client in the view AttributeError: 'NoneType' object has no attribute 'set'
hey - really appreciate this extension, it's made my life a lot easier (as is with most flask extensions) - mongoengine supports mocking via connection uri: `mongomock://...` - this sort...
https://flask.palletsprojects.com/en/1.1.x/extensiondev/
We have a Redis cluster running on AWS using their Elasticache server and for reasons I won't go into we periodically change the host that the DB behind it is...
When setting up a custom provider, a user can supply a dict of kwargs to be passed to that class's initializer. If one of these was called 'strict', this would...
simple way to support python type hints.