code: def progress(self):
          
          total = len(self.all_jobs)
          remaining = total - len(self.active_jobs) if total > 0 else 0
          percent = int(100 * (float(remaining) / total)) if total > 0 else 0
          return percent
docs: Returns the percentage, current and total number of
          jobs in the queue.