Skip to content

Instantly share code, notes, and snippets.

@kracekumar kracekumar/state.py

Created Jul 16, 2016
Embed
What would you like to do?
state machine trigger
>>>machine.model.cancel()
True
>>>machine.model.state
'canceled'
>>>machine.model.deliver()
False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.