So when I search for shots assigned to a particular artist I type in:
sg.find("Shot", filters=[['project', 'is', projectID], ["task_assignees", "name_is", "Bob"]], fields=['id', 'code'])
However when I do this I get the following error:
Traceback (most recent call last):
File "<pyshell#6>", line 1, in <module>
shotProjList = sg.find("Shot", filters=[['project', 'is', projectID], ["task_assignees", "name_is", "Bob"]], fields=['id', 'code'])
File "C:\Python27\lib\shotgun_api3\shotgun.py", line 453, in find
result = self._call_rpc("read", params)
File "C:\Python27\lib\shotgun_api3\shotgun.py", line 1270, in _call_rpc
self._response_errors(response)
File "C:\Python27\lib\shotgun_api3\shotgun.py", line 1466, in _response_errors
"Unknown Error"))
Fault: API read() Shot.task_assignees doesn't exist:
{"relation"=>"name_is", "values"=>["Bob"], "path"=>"task_assignees"}
Why? What am I doing wrong?