def _createPyNodes():

    dynModule = _util.LazyLoadModule(__name__, globals())

    for mayaType, parents, children in _factories.nodeHierarchy:

        if mayaType == 'dependNode':
        # This seems like the more 'correct' way of doing it - only node types
        # that are currently available have PyNodes created for them - but
        # changing it so some PyNodes are no longer available until their
        # plugin is loaded may create backwards incompatibility issues... 
#        if (mayaType == 'dependNode'
#                or mayaType not in _factories.mayaTypesToApiTypes):
            continue

        parentMayaType = parents[0]
        #print "superNodeType: ", superNodeType, type(superNodeType)
        if parentMayaType is None:
            _logger.warning("could not find parent node: %s", mayaType)
            continue

        #className = _util.capitalize(mayaType)
        #if className not in __all__: __all__.append( className )

        _factories.addPyNode( dynModule, mayaType, parentMayaType )

    sys.modules[__name__] = dynModule


# Initialize Pymel classes to API types lookup
#_startTime = time.time()
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/core/nodetypes.py/_createPyNodes/original