Guest User

Untitled

a guest
Dec 15th, 2016
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class CreatePurchase:
  2.     __metaclass__ = PoolMeta
  3.     __name__ = 'purchase.request.create_purchase'
  4.  
  5.     start_state = 'init'
  6.     init = StateTransition()
  7.  
  8.     def transition_init(self):
  9.         #code to implement
  10.         return 'start'
RAW Paste Data