3
”Re½ ã @ s8 d Z ddlZdd„ Zdd„ Zdd„ Zd d
„ Zdd„ ZdS )
zB
This module provides means to detect the App Engine environment.
é Nc C s t ƒ p
tƒ S )N)Úis_local_appengineÚis_prod_appengine© r r ú�/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/urllib3/contrib/_appengine_environ.pyÚis_appengine s r c C s t ƒ otjd dkS )a# Reports if the app is running in the first generation sandbox.
The second generation runtimes are technically still in a sandbox, but it
is much less restrictive, so generally you shouldn't need to check for it.
see https://cloud.google.com/appengine/docs/standard/runtimes
ÚAPPENGINE_RUNTIMEÚpython27)r ÚosÚenvironr r r r Úis_appengine_sandbox s r c C s dt jkot jjddƒjdƒS )Nr ÚSERVER_SOFTWAREÚ zDevelopment/)r r
ÚgetÚ
startswithr r r r r s r c C s dt jkot jjddƒjdƒS )Nr r r
zGoogle App Engine/)r r
r r r r r r r s r c C s dS )zDeprecated.Fr r r r r Úis_prod_appengine_mvms" s r )Ú__doc__r r r r r r r r r r Ú