

def update(self, instance, validated_data):
    instance.point = validated_data['point']
    return instance

dataset/ETHPy150Open Hipo/drf-extra-fields/tests/test_fields.py PointSerializer.update/original