lilt-python

API bindings for the Lilt REST API.

View the Project on GitHub lilt/lilt-python

Job

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.

Properties

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]

Example

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)

[Back to Model list] [Back to API list] [Back to README]