Skip to content

Add access to queue when creating tasks and make task hashable for comparison and dictionary use

When constructing a workflow, a RunHandle only has one of two states which is "done" (determined by presence of .result) and "undefined" (the default). The way these states are used is by rerunning by rerunning the mq workflow command, allowing new jobs to be submitted based on "done" jobs. This merge request allows one to use all the states available in the workflow, such as "RunHandle.task.state == State.TIMEOUT" to e.g. automatically resubmit new job with increased resources, or simply ignore it if the rest of the workflow does not crucially depend on it.

Merge request reports