code: def get_lambda_to_execute(self):
          
          def y(update_progress_func, cancel_job_func):
              """
              Call the function stored in self.func, and passing in update_progress_func
              or cancel_job_func depending if self.track_progress or self.cancellable is defined,
              respectively.
              :param update_progress_func: The callback for when the job updates its progress.
              :param cancel_job_func: The function that the function has to call occasionally to see
              if the user wants to cancel the currently running job.
              :return: Any
              """
  
              func = import_stringified_func(self.func)
              extrafunckwargs = {}
  
              args, kwargs = copy.copy(self.args), copy.copy(self.kwargs)
  
              if self.track_progress:
                  extrafunckwargs["update_progress"] = partial(update_progress_func, self.job_id)
  
              if self.cancellable:
                  extrafunckwargs["check_for_cancel"] = partial(cancel_job_func, self.job_id)
  
              kwargs.update(extrafunckwargs)
  
              return func(*args, **kwargs)
  
          return y
docs: return a function that executes the function assigned to this job.
  
          If job.track_progress is None (the default), the returned function accepts no argument
          and simply needs to be called. If job.track_progress is True, an update_progress function
          is passed in that can be used by the function to provide feedback progress back to the
          job scheduling system.
  
          :return: a function that executes the original function assigned to this job.