Deep Dive into Flask's Application and Request Contexts
Highlight:
The
current_appandrequestproxies are not actually global variables; they point to global objects that are implemented as context-locals, so the proxies are always unique to each worker.