We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Flask didn't answer my question and said to ask here pallets/flask#3335
The docs say (https://flask.palletsprojects.com/en/1.1.x/deploying/wsgi-standalone/#proxy-setups):
from werkzeug.middleware.proxy_fix import ProxyFix app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1, x_host=1)
I get this from mypy:
qc/create_app.py:47: error: Cannot assign to a method
What's the correct solution here? Why can't I assign to it?
The text was updated successfully, but these errors were encountered:
Normally mypy doesn't allow monkey-patching (there is already a feature request about partially enabling this). You can # type: ignore this error.
# type: ignore
Sorry, something went wrong.
No branches or pull requests
Flask didn't answer my question and said to ask here
pallets/flask#3335
The docs say (https://flask.palletsprojects.com/en/1.1.x/deploying/wsgi-standalone/#proxy-setups):
I get this from mypy:
qc/create_app.py:47: error: Cannot assign to a method
What's the correct solution here? Why can't I assign to it?
The text was updated successfully, but these errors were encountered: