ray.job_config.JobConfig.from_json#

classmethod JobConfig.from_json(job_config_json)[source]#

Generates a JobConfig object from json.

Examples

from ray.job_config import JobConfig

job_config = JobConfig.from_json(
    {"runtime_env": {"working_dir": "uri://abc"}})
Parameters:

job_config_json – The job config json dictionary.