gravitino.dto.job.job_dto.JobDTO¶
- class gravitino.dto.job.job_dto.JobDTO(_job_id: str, _job_template_name: str, _status: Status, _audit: AuditDTO)¶
Bases:
DataClassJsonMixinData transfer object representing a Job.
Methods
__init__(_job_id, _job_template_name, ...)audit()Returns the audit information of the job.
from_dict(kvs, *[, infer_missing])from_json(s, *[, parse_float, parse_int, ...])job_id()Returns the job ID.
Returns the job template name.
schema(*[, infer_missing, only, exclude, ...])status()Returns the status of the job.
to_dict([encode_json])to_json(*[, skipkeys, ensure_ascii, ...])validate()Validates the JobDTO, ensuring required fields are present and non-empty.
Attributes
dataclass_json_config- job_id() str¶
Returns the job ID.
- job_template_name() str¶
Returns the job template name.
- validate() None¶
Validates the JobDTO, ensuring required fields are present and non-empty.