langchain.utils.env.get_from_dict_or_env

langchain.utils.env.get_from_dict_or_env(data: Dict[str, Any], key: str, env_key: str, default: Optional[str] = None) str[source]

Get a value from a dictionary or an environment variable.