def __set__(self, model_instance, value):
    value = self.validate(value)
    setattr(model_instance, self._attr_name(), value)
Sets the value for this property on the given model instance.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/db/__init__.py/Property.__set__