code: def set_fields(
              self,
              new_fields):
          
          self.org_fields = {}
          self.fields_to_add = {}
          for k in new_fields:
              self.org_fields[k] = new_fields[k]
              self.fields_to_add[k] = new_fields[k]
docs: set_fields
  
          Change the fields that will be added in on
          a log
  
          :param new_fields: new fields to patch in