gravitino.dto.responses.job_response.JobResponse¶
- class gravitino.dto.responses.job_response.JobResponse(_code: int, _job: JobDTO)¶
Bases:
BaseResponse
Represents a response containing a single job.
Methods
__init__
(_code, _job)code
()from_dict
(kvs, *[, infer_missing])from_json
(s, *[, parse_float, parse_int, ...])job
()Returns the job from the response.
schema
(*[, infer_missing, only, exclude, ...])to_dict
([encode_json])to_json
(*[, skipkeys, ensure_ascii, ...])validate
()Validates the response data and contained job.
Attributes
dataclass_json_config
- validate()¶
Validates the response data and contained job.