qrisp.interface.Job.last_known_status#

property Job.last_known_status: JobStatus#

The most recently cached JobStatus for this job.

This value is initialised to INITIALIZING and is updated at the following points:

  • status(): performs a live query and updates the cache as a side effect. Implementations may skip the query once the job is in a terminal state.

  • result(): transitions to DONE, CANCELLED, or ERROR when the job reaches a terminal state.

  • refresh(): caches the current status (semantically identical to calling status(), but signals intent clearly when the sole purpose is to refresh the cache).