Created
November 24, 2015 07:49
-
-
Save paulwinex/0ef0257ff589b47af88f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
status= dict( | |
hold=0, | |
omni=1, | |
notstarted=2, | |
wip=3, | |
inprogress=4, | |
pending=5, | |
normal=6, | |
proposed=7, | |
approved=8, | |
completed=9, | |
clientapproved=10) | |
def get_status(st): | |
return session.query('Status')[st] | |
shot['status'] = get_status(status['notstarted']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment