deisa.ray.config module

deisa.ray.config.distributed_scheduling_enabled_from_env() bool[source]

Read distributed scheduling from the process environment.

Returns:

True when DEISA_DISTRIBUTED_SCHEDULING contains an enabled value, otherwise False.

Return type:

bool

Raises:

ConfigError – If DEISA_DISTRIBUTED_SCHEDULING is set to an unsupported value.

Notes

DEISA_DISTRIBUTED_SCHEDULING accepts common boolean shell values: 1, true, yes, and on enable the feature, while unset, empty, 0, false, no, and off disable it.