Last active
June 6, 2018 06:26
-
-
Save raganmd/f09046bb129cc809754d5426adff1bc1 to your computer and use it in GitHub Desktop.
This file contains 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
''' | |
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