class documentation

/2/jobs/[job_id] resource.

Method DELETE Cancel not-yet-started job.
Method GET Returns a job status.

Inherited from ResourceBase:

Method __init__ Generic resource constructor.
Method dryRun Check if the request specifies dry-run mode.
Method getBodyParameter Check and return the value for a given parameter.
Method GetClient Wrapper for luxi.Client with HTTP-specific error handling.
Method SubmitJob Generic wrapper for submit job, for better http compatibility.
Method useBulk Check if the request specifies bulk querying.
Method useForce Check if the request specifies a forced operation.
Method useLocking Check if the request specifies locking.
Constant DELETE_ACCESS Undocumented
Constant GET_ACCESS Undocumented
Constant POST_ACCESS Undocumented
Constant PUT_ACCESS Undocumented
Class Variable request_body Undocumented
Instance Variable items Undocumented
Instance Variable queryargs Undocumented
Method _checkIntVariable Return the parsed value of an int argument.
Method _checkStringVariable Return the parsed value of a string argument.
Method _GetRequestBody Returns the body data.
Instance Variable _client_cls Undocumented
Instance Variable _req Undocumented
def DELETE(self):

Cancel not-yet-started job.

def GET(self):

Returns a job status.

Returns

a dictionary with job parameters. The result includes:

  • id: job ID as a number
  • status: current job status as a string
  • ops: involved OpCodes as a list of dictionaries for each opcodes in the job
  • opstatus: OpCodes status as a list
  • opresult: OpCodes results as a list of lists