Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fastkits opened this issue Dec 19, 2020 · 1 comment
Open

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

fastkits opened this issue Dec 19, 2020 · 1 comment

Comments

@fastkits
Copy link

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
Copy link
Author

@underyx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant