Created
October 15, 2012 14:34
-
-
Save kporangehat/3892785 to your computer and use it in GitHub Desktop.
Find all Tasks for 'myshot' that were created from TaskTemplate shot_pipeline_tt
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
shot_pipeline_tt = {'type': 'TaskTemplate', 'id':8} | |
myshot = {'type': 'Shot', 'id': 1680} | |
filters = [ | |
['entity', 'is', myshot], | |
['template_task.Task.task_template', 'is', shot_pipeline_tt] | |
] | |
result = sg.find('Task', filters, ['content']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment