Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now available in preview.

google.appengine.runtime.request_environment.PatchOsEnviron

Replace os.environ by a RequestLocalEnviron instance.

This is called from init.py when it modifies the execution environment (in the wider sense of the word).

os_module An optional module to patch. Defaults to os.