MCPcopy Create free account
hub / github.com/ActiveState/code / handle

Method handle

recipes/Python/576624_State_Machine_Text/recipe-576624.py:54–55  ·  view source on GitHub ↗
(self, cargo)

Source from the content-addressed store, hash-verified

52 ID = NONE_STATE_ID
53 TRANSITIONS = []
54 def handle(self, cargo):
55 return NONE_STATE_ID, cargo
56
57class StateMachine(object):
58 """ Minimal state machine that runs based on state ids and state dictionary. """

Callers 8

replMethod · 0.45
textwindowFunction · 0.45
runMethod · 0.45
handleMethod · 0.45
handleMethod · 0.45
handleMethod · 0.45
handleMethod · 0.45
handleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected