def node_dictionary():
    """Return a dictionary containing node name as key and node class as
    value. This will be depreciated soon in favour of
    :func:`node_catalogue()`"""

    classes = node_subclasses(Node)
    dictionary = {}

    for c in classes:
        try:
            name = c.identifier()
            dictionary[name] = c
        except __HOLE__:
            # If node does not provide identifier, we consider it to be
            # private or abstract class
            pass

    return dictionary
dataset/ETHPy150Open Stiivi/brewery/brewery/nodes/base.py/node_dictionary