Skip to content

Commit

Permalink
Merge def9f8c into 82fe0b1
Browse files Browse the repository at this point in the history
  • Loading branch information
graczhual committed Dec 27, 2021
2 parents 82fe0b1 + def9f8c commit 5e59ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorbay/client/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ def update(self, until_complete: bool = False) -> None:
sleep(_JOB_UPDATE_INTERVAL)
job_info = self._job_updater(self.job_id)

self.finished_at = job_info["finishedAt"]
self.finished_at = job_info.get("finishedAt")
self.status = job_info["status"]
self.error_message = job_info["errorMessage"]
self._result = job_info["results"]
self._result = job_info.get("results")

def abort(self) -> None:
"""Abort a :class:`Job`."""
Expand Down

0 comments on commit 5e59ae2

Please sign in to comment.