qrisp.interface.Job.status#
- abstractmethod Job.status() JobStatus[source]#
Query and return the current
JobStatusof the job.This is a live query: every call fetches the most up-to-date status available, which for remote backends may involve a network call. As a side effect, concrete implementations should store the result in
_last_known_statusbefore returning, so thatlast_known_statusalways reflects the most recently observed state.Callers that want to avoid the cost of a live query should read
last_known_statusdirectly. Callrefresh()(orstatus()) when an explicit update is needed.- Returns:
- JobStatus