def __setattr__(self, key, value):
    if (key in self._allowedKeys):
        self.initAttr(key)
        if issubclass(value.__class__, (DictBasedObject, ListProxy, Proxy, DataType)):
            object.__setattr__(value, '_parent', self)
        self.__dict__['_content'][key].put(value)
    else:
        object.__setattr__(self, key, value)
def __setattr__(self, key, value):
    if (key in self._allowedKeys):
        self.initAttr(key)
        if issubclass(value.__class__, (DictBasedObject, ListProxy, Proxy, DataType)):
            object.__setattr__(value, '_parent', self)
        self.__dict__['_content'][key].put(value)
    else:
        object.__setattr__(self, key, value)