code: def percentage_progress(self):
          
  
          if self.total_progress != 0:
              return float(self.progress) / self.total_progress
          else:
              return self.progress
docs: Returns a float between 0 and 1, representing the current job's progress in its task.
          If total_progress is not given or 0, just return self.progress.
  
          :return: float corresponding to the total percentage progress of the job.