code: def save(self):
          
  
          if not self.saved and self.data and "progress" in self.data:
              # TODO should we save more fields?
              self.collection.update({"_id": self.id}, {"$set": {
                  "progress": self.data["progress"]
              }})
              self.saved = True
docs: Persists the current job metadata to MongoDB. Will be called at each worker report.