def set_action(self, action, priority):
    if priority > self.action_priority:
      self.action = action
      self.action_priority = priority
Make this an accepting state with the given action. If 
dataset/ETHPy150Open ardekantur/pyglet/contrib/layout/layout/Plex/Machines.py/Node.set_action