original_docstring: the parent of the dag node
  
          :return: the parent of the dag node
          :rtype: :class:`cgp_maya_utils.scene.DagNode`
          
docstring: the parent of the dag node
docstring_tokens: the parent of the dag node
code: def parent(self):
          """the parent of the dag node
  
          :return: the parent of the dag node
          :rtype: :class:`cgp_maya_utils.scene.DagNode`
          """
  
          # execute
          parents = maya.cmds.listRelatives(self.name(), parent=True)
  
          # return
          return cgp_maya_utils.scene._api.node(parents[0]) if parents else None
code_tokens: def parent ( self ) : parents = maya . cmds . listRelatives ( self . name ( ) , parent = True ) return cgp_maya_utils . scene . _api . node ( parents [ 0 ] ) if parents else None
short_docstring: the parent of the dag node
short_docstring_tokens: the parent of the dag node
comment: """the parent of the dag node
  
          :return: the parent of the dag node
          :rtype: :class:`cgp_maya_utils.scene.DagNode`
          """$SEP$# execute$SEP$# return