class Node(object): def __init__(self, inbound_nodes=[]): # Nodes from which this Node receives values self.inbound_nodes = inbound_nodes