def __setattr__(self, prop, value):
        # Add validity check for self.change
        if (prop == 'change' and Resource.CHANGE_TYPES and
            value is not None and not value in Resource.CHANGE_TYPES):
            raise ChangeTypeError(value)
        else:
            try:
                object.__setattr__(self, prop, value)
            except __HOLE__:
                # assume an extra one...
                self._set_extra(prop, value)
dataset/ETHPy150Open resync/resync/resync/resource.py/Resource.__setattr__