Hi!
I am trying do an effective sg.find for shots, but only for active projects. Heres what I`m thinking so far.
all_projects = sg.find("Project",filters=[['sg_status', 'is_not', 'Archive'],['name', 'is_not', 'Template Project']],fields=['name'])
all_shots = sg.find('Shot', filters=[['sg_status_list', 'is_not', 'omt'], ['project', 'is', all_projects ]], fields=['project', 'code','sg_sequence']])
Tried a couple of ways to give the "project is" line a list, but its always expecting some [Hash, NilClass].
Is this a stupid way to do this?
Still quite new to python, so any help is greatly appreciated.