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.

__init__(_code: int, _job: JobDTO) None

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

job() JobDTO

Returns the job from the response.

validate()

Validates the response data and contained job.