qrisp.interface.Job.status#

abstractmethod Job.status() JobStatus[source]#

Query and return the current JobStatus of 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_status before returning, so that last_known_status always reflects the most recently observed state.

Callers that want to avoid the cost of a live query should read last_known_status directly. Call refresh() (or status()) when an explicit update is needed.

Returns:
JobStatus