File tree Expand file tree Collapse file tree
python/lib/sift_client/sift_types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ def is_in_progress(self) -> bool:
226226
227227 A job is in progress if its status is RUNNING.
228228 """
229+ self .refresh ()
229230 return self .job_status == JobStatus .RUNNING
230231
231232 @property
@@ -234,6 +235,7 @@ def is_failed(self) -> bool:
234235
235236 A job has failed if its status is FAILED.
236237 """
238+ self .refresh ()
237239 return self .job_status == JobStatus .FAILED
238240
239241 @property
@@ -242,6 +244,7 @@ def is_finished(self) -> bool:
242244
243245 A job has finished if its status is FINISHED.
244246 """
247+ self .refresh ()
245248 return self .job_status == JobStatus .FINISHED
246249
247250 @property
@@ -250,6 +253,7 @@ def is_cancelled(self) -> bool:
250253
251254 A job has been cancelled if its status is CANCELLED.
252255 """
256+ self .refresh ()
253257 return self .job_status == JobStatus .CANCELLED
254258
255259 def refresh (self ) -> Job :
You can’t perform that action at this time.
0 commit comments