def create_node(identifier, *args, **kwargs):

    d = node_dictionary()
    node_class = d[identifier]
    node = node_class(*args, **kwargs)
    return node
Custom form to manage subscriptions
dataset/ETHPy150Open Stiivi/brewery/brewery/nodes/base.py/create_node--crossover with--dataset/ETHPy150Open sahana/eden/modules/templates/ARC/controllers.py/subscriptions._manage_subscriptions