View source on GitHub |
Wrapper for contextvars that can fall back to old os.environ hack.
Modules
ctx_test_util
module: Test func/class decorator that runs tests in a clean context.
gae_headers
module: Save X-Appengine-* headers into request context.
wsgi
module: Save a few WSGI vars into request context.
Functions
get(...)
: Read context from os.environ if READ_GAE_CONTEXT_FROM_OS_ENVIRON else, from contextvars.
Other Members | |
---|---|
READ_FROM_OS_ENVIRON |
True
|