o
    g                     @   s8   d Z ddlZdd Zdd Zdd Zd	d
 Zdd ZdS )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   `/home/ubuntu/cloudmapper/venv/lib/python3.10/site-packages/urllib3/contrib/_appengine_environ.pyis_appengine   s   r   c                   C   s   t  o	tjd dkS )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      dt jv ot jdddS )Nr   SERVER_SOFTWARE zDevelopment/r	   r
   get
startswithr   r   r   r   r      
   r   c                   C   r   )Nr   r   r   zGoogle App Engine/r   r   r   r   r   r      r   r   c                   C   s   dS )zDeprecated.Fr   r   r   r   r   is_prod_appengine_mvms"   s   r   )__doc__r	   r   r   r   r   r   r   r   r   r   <module>   s    
