code: def wait(self, job_id, timeout=None):
          
          return self.storage.wait_for_job_update(job_id, timeout=timeout)
docs: Wait until the job given by job_id has a new update.
  
          :param job_id: the id of the job to wait for.
          :param timeout: how long to wait for a job state change before timing out.
          :return: Job object corresponding to job_id