MCPcopy Index your code
hub / github.com/encode/django-rest-framework / validate

Method validate

rest_framework/serializers.py:556–557  ·  view source on GitHub ↗
(self, attrs)

Source from the content-addressed store, hash-verified

554 return ret
555
556 def validate(self, attrs):
557 return attrs
558
559 def __repr__(self):
560 return representation.serializer_repr(self, indent=1)

Callers 1

run_validationMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected