AlgorithmJob¶
- class AlgorithmJob(function, *args, **kwargs)[소스]¶
기반 클래스:
PrimitiveJob
This empty class is introduced for typing purposes.
- 매개변수
function – a callable function to execute the job.
Methods
Return the backend where this job was executed.
Attempt to cancel the job.
Return whether the job has been cancelled.
Return whether the job has successfully run.
Return whether the job is in a final job state such as
DONE
orERROR
.Return a unique id identifying the job.
Return the results of the job.
Return whether the job is actively running.
Return the status of the job, among the values of
JobStatus
.Submit the job to the backend for execution.
Poll the job status until it progresses to a final state such as
DONE
orERROR
.Attributes
- version = 1¶