vcorelib.dict.env
index
/home/vkottler/src/vkottler/workspace/vcorelib/vcorelib/dict/env.py

Utilities for working with environment-variable data contained inside various
data structures.

 
Functions
       
dict_resolve_env_vars(data: Dict[Any, Any], keys: bool = True, values: bool = True, lists: bool = True, env: Mapping[str, str] = None) -> Dict[Any, Any]
Recursively resolve dictionary data that may contain strings that should be
treated as environment-variable substitutions. The data is updated
in-place.
list_resolve_env_vars(data: List[Any], keys: bool = True, values: bool = True, lists: bool = True, env: Mapping[str, str] = None) -> List[Any]
Recursively resolve list data that may contain strings that should be
treated as environment-variable substitutions. The data is updated
in-place.
str_resolve_env_var(data: str, env: Mapping[str, Any] = None) -> str
Convert string data to a resolved environment variable if the string begins
with '$' and is a key in the environment with a non-empty value.

 
Data
        GenericList = typing.List[typing.Any]