0

Unknown field 'name' in 'Scene' entity

Hi,

Shotgun API find() method:

fields = ['code', 'sg_scene']

filters = [
['project', 'is', {'type':'Project', 'id': PROJECT_ID}],
]
shots = sg.find("Shot", filters, fields)

print shot[0]

returns something like

{'code': 'name_ep01_sc06_sh050', 'type': 'Shot', 'id': 555, 'sg_scene': {'type': 'Scene', 'name': 'name_ep01_sc06', 'id': 55}}

As I understand sg_scene is a 'Scene' entity. The problem is there is no such a field as 'name' in it.

What field is 'name' exactly?

 

Regards,

Roman I.

0 comments

Please sign in to leave a comment.