API bindings for the Lilt REST API.
A Job is a collection of multiple Projects. Each project is specific to a language pair, and is associated with exactly one Memory for that language pair. The Memory association cannot be changed after the Project is created.
Name | Type | Description | Notes |
---|---|---|---|
name | str | A name for the job. | [optional] |
creation_status | str | Status of job creation process that includes PENDING, COMPLETE, and FAILED. | [optional] |
delivered_at | datetime | [optional] | |
status | str | Current status of job that includes archived, delivered, and active. | [optional] |
due | datetime | An ISO string date. | [optional] |
id | int | An id for the job. | [optional] |
is_processing | int | Values include `1` while in progress, `0` when idle and `-2` when processing failed. | [optional] |
stats | JobStats | [optional] |
from lilt.models.job import Job
# TODO update the JSON string below
json = "{}"
# create an instance of Job from a JSON string
job_instance = Job.from_json(json)
# print the JSON string representation of the object
print(Job.to_json())
# convert the object into a dict
job_dict = job_instance.to_dict()
# create an instance of Job from a dict
job_from_dict = Job.from_dict(job_dict)