code: def results(self) -> List[TrialResult]:
          
          if not self._results:
              job = self._update_job()
              for _ in range(1000):
                  if job['executionStatus']['state'] in TERMINAL_STATES:
                      break
                  time.sleep(0.5)
                  job = self._update_job()
              if job['executionStatus']['state'] != 'SUCCESS':
                  raise RuntimeError(
                      'Job %s did not succeed. It is in state %s.' % (
                          job['name'], job['executionStatus']['state']))
              self._results = self._engine.get_job_results(
                  self.job_resource_name)
          return self._results
docs: Returns the job results, blocking until the job is complete.