def cast( self, swapNode, **kwargs):
        return cmds.nodeCast( self, swapNode, *kwargs )
nodeCast
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/core/nodetypes.py/DependNode.cast