Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raganmd/f09046bb129cc809754d5426adff1bc1 to your computer and use it in GitHub Desktop.
Save raganmd/f09046bb129cc809754d5426adff1bc1 to your computer and use it in GitHub Desktop.
'''
The Specific class handles the requirements that are specific to a
particular job. We separate these functions into two classes as there
are always cases where a particular venue has a particular requirement
that doesn't fit with the schema of a larger system. We might find
that one of these functions can be generalized and pulled into the
General class, but if you're writing something that's specific to a
single job or venue, this is the place for that function.
'''
General = mod("generalEXT").General
class Specific(General):
def __init__(self, my_op):
General.__init__(self, my_op)
print("Specific init")
return
def Image_order(self, message):
vals = message.get('vals')
if vals:
op('table1')[1, 2] = "'moviefilein2 moviefilein1'"
else:
op('table1')[1, 2] = "'moviefilein1 moviefilein2'"
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment