nv_ingest.framework.orchestration.ray.util package#

Subpackages#

Submodules#

nv_ingest.framework.orchestration.ray.util.env_config module#

nv_ingest.framework.orchestration.ray.util.env_config.get_env_var(name: str, default, var_type=None)[source]#

Get environment variable with type conversion and default value.

Parameters:
  • name (str) – Environment variable name

  • default (Any) – Default value if environment variable is not set

  • var_type (type, optional) – Type to convert to. If None, infers from default value type

Returns:

Environment variable value converted to the appropriate type

Return type:

Any

nv_ingest.framework.orchestration.ray.util.env_config.str_to_bool(value: str) bool[source]#

Convert string to boolean value.

Parameters:

value (str) – String value to convert

Returns:

Boolean representation of the string

Return type:

bool

Module contents#