code: def run(self):
          '''
          Initialise the runner function with the passed args, kwargs
          '''
  
          # Retrieve args/kwargs here; and fire up the processing using them
          try:
              transcript = self.fn(*self.args, **self.kwargs)
          except:
              traceback.print_exc()
              exctype, value = sys.exc_info()[:2]
              self.signals.error.emit((exctype, value, traceback.format_exc()))
          else:
              # Return the result of the processing
              self.signals.result.emit(transcript)
          finally:
              # Done
              self.signals.finished.emit(f run(self):
          '''
          Initialise the runner function with the passed args, kwargs
          '''
  
          # Retrieve args/kwargs here; and fire up the processing using them
          try:
              transcript = self.fn(*self.args, **self.kwargs)
          except:
              traceback.print_exc()
              exctype, value = sys.exc_info()[:2]
              self.signals.error.emit((exctype, value, traceback.format_exc()))
          else:
              # Return the result of the processing
              self.signals.result.emit(transcript)
          finally:
              # Done
              self.signals.finished.emit()
docs: Initialise the runner function with the passed args, kwargs