ray.job_submission.JobInfo.from_json#

classmethod JobInfo.from_json(json_dict: Dict[str, Any]) None[source]#

Initialize this object from a JSON dictionary.

Note that the runtime_env_json field is converted to a dictionary and the field is renamed to runtime_env.

Parameters:

json_dict – A JSON dictionary to use to initialize the JobInfo object.