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
/usr/local/lib/python3.7/site-packages/flask_socketio/__init__.py:19: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3.
from flask import _request_ctx_stack, has_request_context, json as flask_json
The app and request contexts are managed using Python context
vars directly rather than Werkzeug’s LocalStack. This should result
in better performance and memory use. [#4682](https://github.com/pallets/flask/pull/4682)
Extension maintainers, be aware that _app_ctx_stack.top and _request_ctx_stack.top
are deprecated. Store data on g instead using a unique prefix, like g._extension_name_attr.
The text was updated successfully, but these errors were encountered:
Hi, I have a similar warning after upgrading to Flask 2.2.1. Posting it here as the warning is slightly different:
/home/project/env/lib/python3.8/site-packages/flask_socketio/__init__.py:754: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context.
_request_ctx_stack.top.session = session_obj
From the Flask changelog:
The text was updated successfully, but these errors were encountered: