

def validate_renamed(self, value):
    if (len(value) < 3):
        raise serializers.ValidationError('Minimum 3 characters.')
    return self

dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_validation.py ShouldValidateModelSerializer.validate_renamed/VarMisuse@34/45 `value`->`self`