flask-redis icon indicating copy to clipboard operation
flask-redis copied to clipboard

AttributeError: 'NoneType' object has no attribute 'set'

Open fastkits opened this issue 4 years ago • 1 comments

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'

fastkits avatar Dec 19 '20 08:12 fastkits

@underyx

fastkits avatar Dec 19 '20 08:12 fastkits