Toggle Menu
Prev Up Next

# `langchain_upstage.layout_analysis_parsers`.get_from_param_or_env

langchain_upstage.layout_analysis_parsers.get_from_param_or_env(key: str, param: Optional[str] = None, env_key: Optional[str] = None, default: Optional[str] = None) → str

  Get a value from a param or an environment variable.

  Parameters

    - key (str) –

    - param (Optional[str]) –

    - env_key (Optional[str]) –

    - default (Optional[str]) –

  Return type

    str