sf.configuration.parse_environment_variable

parse_environment_variable(key, value)[source]

Parse a value stored in an environment variable.

Parameters
  • key (str) – the name of the environment variable

  • value (Union[str, bool, int]) – the value obtained from the environment variable

Returns

the parsed value

Return type

[str, bool, int]