use ThreadPoolExecutor and copy_current_request_context in flask will appear some bug #5397
Unanswered
LionSniper
asked this question in
Q&A
Replies: 1 comment
-
Fairly sure this is because |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in app.py file:
in test2 file:
when i request this api , it will appear "AssertionError: Popped wrong app context. (<flask.ctx.AppContext object at 0x00000167CB79A3C8> instead of <flask.ctx.AppContext object at 0x00000167CB79A668>) // Werkzeug Debugger", how to resolve it? thanks!
Beta Was this translation helpful? Give feedback.
All reactions