- class ray.runtime_env.RuntimeEnvConfig(setup_timeout_seconds: int = 600, eager_install: bool = True)#
Used to specify configuration options for a runtime environment.
The config is not included when calculating the runtime_env hash, which means that two runtime_envs with the same options but different configs are considered the same for caching purposes.
setup_timeout_seconds – The timeout of runtime environment creation, timeout is in seconds. The value
-1means disable timeout logic, except
setup_timeout_secondscannot be less than or equal to 0. The default value of
setup_timeout_secondsis 600 seconds.
Create a new dictionary with keys from iterable and values set to value.
Return the value for key if key is in the dictionary, else default.
If the key is not found, return the default if given; otherwise, raise a KeyError.
Remove and return a (key, value) pair as a 2-tuple.
Insert key with a value of default if key is not in the dictionary.
If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]