You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling the "/scheduler/jobs" route works with Werkzeug 0.14.1, but on a newer system upgraded to 2.0.1, I get the following error:
Internal Server Error: AttributeError: 'Request' object has no attribute 'is_xhr'
This line is to blame:
File "~/.local/lib/python3.9/site-packages/flask_apscheduler/json.py", line 21, in jsonify
if flask.current_app.config['JSONIFY_PRETTYPRINT_REGULAR'] and not flask.request.is_xhr:
Apparently is_xhr is deprecated in newer versions of Werkzeug.
The text was updated successfully, but these errors were encountered:
Calling the "/scheduler/jobs" route works with Werkzeug 0.14.1, but on a newer system upgraded to 2.0.1, I get the following error:
Internal Server Error: AttributeError: 'Request' object has no attribute 'is_xhr'
This line is to blame:
File "~/.local/lib/python3.9/site-packages/flask_apscheduler/json.py", line 21, in jsonify
if flask.current_app.config['JSONIFY_PRETTYPRINT_REGULAR'] and not flask.request.is_xhr:
Apparently is_xhr is deprecated in newer versions of Werkzeug.
The text was updated successfully, but these errors were encountered: