code: def get_results(self):
          '''
          :return: result from running the task
          '''
          self._event.wait()
          if self._exception is not None:
              #
              # Well... rethrownig the exception caught in execute
              # but on the caller thread
              #
              raise self._exception  # pylint: disable=E0702
          return self._resulf get_results(self):
          '''
          :return: result from running the task
          '''
          self._event.wait()
          if self._exception is not None:
              #
              # Well... rethrownig the exception caught in execute
              # but on the caller thread
              #
              raise self._exception  # pylint: disable=E0702
          return self._result
docs: :return: result from running the task