def getParent(self):
        if self._parent is not None:
            return self._parent()
        return None

    # -------------
    # Notifications
    # -------------
Get the parent. Returns None if no parent is set.
dataset/ETHPy150Open typesupply/defcon/Lib/defcon/objects/base.py/BaseObject.getParent