aea.helpers.env_
vars¶
Implementation of the environment variables support.
is_
env_
variable¶
Check is variable string with env variable pattern.
replace_
with_
env_
var¶
def replace_with_env_var(value: str,
env_variables: dict,
default_value: Any = NotSet) -> JSON_TYPES
Replace env var with value.
apply_
env_
variables¶
def apply_env_variables(data: Union[Dict, List[Dict]],
env_variables: Mapping[str, Any],
default_value: Any = NotSet) -> JSON_TYPES
Create new resulting dict with env variables applied.
convert_
value_
str_
to_
type¶
Convert value by type name to native python type.