Skip to content

Commit

Permalink
fix(client): fix the error that the startedAt does not update with Job
Browse files Browse the repository at this point in the history
  • Loading branch information
graczhual committed Dec 31, 2021
1 parent 63dee8f commit 519920f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tensorbay/client/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def update(self, until_complete: bool = False) -> None:
sleep(_JOB_UPDATE_INTERVAL)
job_info = self._job_updater(self.job_id)

self.started_at = job_info.get("startedAt")
self.finished_at = job_info.get("finishedAt")
self.status = job_info["status"]
self.error_message = job_info["errorMessage"]
Expand Down

0 comments on commit 519920f

Please sign in to comment.