def setParent(self, obj):
        if obj is None:
            self._parent = None
        else:
            self._parent = weakref.ref(obj)
Set the parent of the object. This will reference the parent using weakref.
dataset/ETHPy150Open typesupply/defcon/Lib/defcon/objects/base.py/BaseObject.setParent