File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/virtualenv/config/__pycache__/env_var.cpython-310.pyc
Back
o ;j� � @ sl d dl mZ d dlmZ d dlmZ ddlmZ er,d dlmZ d dlm Z ddlm Z ddd�ZdgZdS )� )�annotations)�suppress)� TYPE_CHECKING� )�convert)�Mapping)�Any)�TypeData�key�str�as_typer �env�Mapping[str, str]�return�tuple[Any, str] | Nonec C sj d| � � � �}|�|�r3|| }tt�� d|� �}t|||�}||fW d � S 1 s.w Y dS )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 :returns: the converted value and source, or None if not set ZVIRTUALENV_zenv var N)�upper�getr � Exceptionr )r r r Zenviron_key�value�source� r �M/opt/saltstack/salt/lib/python3.10/site-packages/virtualenv/config/env_var.py�get_env_var s �r N)r r r r r r r r ) � __future__r � contextlibr �typingr r �collections.abcr r r r �__all__r r r r �<module> s �
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings