def put(self, value):
    self.value = self.shapeValue(value)
    if issubclass(self.value.__class__, (DictBasedObject, ListProxy, Proxy, DataType)):
        object.__setattr__(self.value, '_parent', self)
    valid = self.valid()
    if ((valid is not True) and (valid is not None)):
        raise ValueError(valid)
def put(self, value):
    self.value = self.shapeValue(value)
    if issubclass(self.value.__class__, (DictBasedObject, ListProxy, Proxy, DataType)):
        object.__setattr__(self.value, '_parent', self)
    valid = self.valid()
    if ((valid is not True) and (valid is not None)):
        raise ValueError(valid)