et_engine_core.jobs

Classes

Argument(argument_key, argument_value)

Interface for ET Engine Arguments

Job(job_id, job_tool, job_log_id, ...)

Interface for ET Engine Jobs

Tool(tool_id, tool_name, tool_description)

Interface for ET Engine Tools

class Job(job_id: str, job_tool: Tool, job_log_id: str, job_argument_list: list[Argument])

Bases: object

Interface for ET Engine Jobs

static from_json(job_json: dict[slice(<class 'str'>, <class 'str'>, None)]) Self

Create a Job object from JSON

Parameters:

job_json (dict) – JSON-like representation of the object, e.g. from Job(…).to_json()

Returns:

a Job object

Return type:

Self

to_json() dict[slice(<class 'str'>, <class 'str'>, None)]

Export Job to JSON-like dictionary

Returns:

dictionary that can be turned into a JSON string

Return type:

dict