              try:
                  clean_method = getattr(self, 'validate_%s' % field_name, None)
                  if clean_method:
                      source = field.source or field_name
                      data = clean_method(data, source)
              except ValidationError as err:
                  self._errors[field_name] = self._errors.get(field_name, []) + list(err.messages)
  
          return data
  
 
</s> remove         return data
 </s> add         return attrs </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             attrs = self.clean_fields(attrs)
            attrs = self.clean_all(attrs)
 </s> add             attrs = self.validate_fields(attrs)
            attrs = self.validate_all(attrs) </s> remove             self._errors['non_field_errors'] = 'No input provided'
 </s> add             self._errors['non_field_errors'] = ['No input provided']
                    attrs = clean_method(attrs, source)
              try:
                  clean_method = getattr(self, 'validate_%s' % field_name, None)
                  if clean_method:
                      source = field.source or field_name
                    attrs = clean_method(attrs, source)
              except ValidationError as err:
                  self._errors[field_name] = self._errors.get(field_name, []) + list(err.messages)
  
          return data
  
keep keep keep keep replace keep keep keep keep keep
 Clean up internal names and documentation 
rest_framework/serializers.py