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
Originally posted by yromanyshyn March 16, 2023
support of the lifespan state and the notion of the app_state was added to the latest release of the uvicorn, as result, now changes made to the request.state persist between requests (actually in a very weird way/), IMO, it is confusing and unexpected behavior, you do not expect that changes made to the request state will outlive the request/
Discussed in #1901
Originally posted by yromanyshyn March 16, 2023
support of the
lifespan state
and the notion of theapp_state
was added to the latest release of the uvicorn, as result, now changes made to therequest.state
persist between requests (actually in a very weird way/), IMO, it is confusing and unexpected behavior, you do not expect that changes made to the request state will outlive the request/Code snippet:
Demonstration:
(please, look the video to the end)
simplescreenrecorder-.3.mp4
Installed packages and python version:
The text was updated successfully, but these errors were encountered: