mirror of
https://github.com/vale981/ray
synced 2025-03-10 05:16:49 -04:00
[Core] minor refactor for usability of runtime_env (#15965)
* minor refactor for usability of runtime_env * remove job_config changes
This commit is contained in:
parent
44d355aeea
commit
33d9fc9a8b
1 changed files with 7 additions and 0 deletions
|
@ -117,6 +117,13 @@ class RuntimeEnvDict:
|
|||
self._dict["working_dir"] = runtime_env_json["working_dir"]
|
||||
else:
|
||||
self._dict["working_dir"] = None
|
||||
|
||||
if "uris" in runtime_env_json:
|
||||
self._dict["uris"] = runtime_env_json["uris"]
|
||||
|
||||
if "_ray_release" in runtime_env_json:
|
||||
self._dict["_ray_release"] = runtime_env_json["_ray_release"]
|
||||
|
||||
# TODO(ekl) we should have better schema validation here.
|
||||
# TODO(ekl) support py_modules
|
||||
# TODO(architkulkarni) support env_vars, docker
|
||||
|
|
Loading…
Add table
Reference in a new issue