o
    Uh                     @  s6   d dl mZ d dlmZ ddlmZ dd ZdgZdS )    )annotations)suppress   )convertc                 C  sj   d|    }||r3|| }tt d| }t|||}||fW  d   S 1 s.w   Y  dS )z
    Get the environment variable option.

    :param key: the config key requested
    :param as_type: the type we would like to convert it to
    :param env: environment variables to use
    :return:
    VIRTUALENV_zenv var N)uppergetr   	Exceptionr   )keyas_typeenvenviron_keyvaluesource r   m/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/virtualenv/config/env_var.pyget_env_var   s   	


 r   N)
__future__r   
contextlibr   r   r   __all__r   r   r   r   <module>   s    