                  self._errors[field_name] = list(err.messages)
  
          return reverted_data
  
      def clean_fields(self, data):
          """
          Run validate_<fieldname> methods on the serializer
          """
          fields = self.get_fields(serialize=False, data=data, nested=self.opts.nested)
  
 
</s> remove         fields = self.get_fields(serialize=False, data=data, nested=self.opts.nested)
 </s> add         fields = self.get_fields(serialize=False, data=attrs, nested=self.opts.nested) </s> remove     def clean_all(self, attrs):
 </s> add     def validate_all(self, attrs): </s> remove         return data
 </s> add         return attrs </s> remove                     data = clean_method(data, source)
 </s> add                     attrs = clean_method(attrs, source) </s> remove             self._errors['non_field_errors'] = 'No input provided'
 </s> add             self._errors['non_field_errors'] = ['No input provided']
    def validate_fields(self, attrs):
                  self._errors[field_name] = list(err.messages)
  
          return reverted_data
  
    def validate_fields(self, attrs):
          """
          Run validate_<fieldname> methods on the serializer
          """
          fields = self.get_fields(serialize=False, data=data, nested=self.opts.nested)
  
keep keep keep keep replace keep keep keep keep keep
 Clean up internal names and documentation 
rest_framework/serializers.py