def getAllParents(self):
        return self.getParent(generations=None)
Return a list of all parents above this.
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/core/nodetypes.py/DagNode.getAllParents