Viewing File: /opt/hc_python/lib/python3.12/site-packages/virtualenv/config/__pycache__/env_var.cpython-312.pyc

�

`��g���4�ddlmZddlmZddlmZd�ZdgZy)�)�annotations)�suppress�)�convertc���d|j���}|j|�r4||}tt�5d|��}t	|||�}||fcddd�Sy#1swYyxYw)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_zenv var N)�upper�getr�	Exceptionr)�key�as_type�env�environ_key�value�sources      �H/opt/hc_python/lib/python3.12/site-packages/virtualenv/config/env_var.py�get_env_varrsm�� ��	�	��}�-�K�
�w�w�{���K� ��
�i�
 ���}�-�F��e�W�f�5�G��F�?�!�
 ��	!��s�A�A#rN)�
__future__r�
contextlibrrr�__all__��r�<module>rs��"����*��r
Back to Directory File Manager