Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/pyon-HEAD/pyon/core/governance/conversation/core/fsm.py   pyon(Download)
from collections import deque
from pydoc import deque
from pyon.core.governance.conversation.core.transition import DefaultTransition
from transition import Transition, AssertionTransition
from ooi.logging import log
                    val = self.state_transitions.pop((transition, state))
                    old_transition = DefaultTransition.create_from_string(transition)
                    new_transition = DefaultTransition(old_transition.lt_type, op_mapping[input], old_transition.role)
                    self.state_transitions[(new_transition.get_trigger(), state)] = val
                    break