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