I have Versions attached to Shots via the 'entity' field:
Version's schema:
{
...
'entity': {'data_type': 'entity',
'display_name': 'Link',
'editable': True,
'source_columns': ['entity_type', 'entity_id']},
...
}
What I have in the database:
{
...
'entity': {'id': 1326, 'name': '009x01', 'type': 'Shot', 'valid': 'valid'},
...
}
I want to filter Versions by Shots:
sg.find(('entity', 'include', {'id':1326, 'type': 'Shot'}))
'include' and 'in' don't work. I get:
Fault: <Fault 124: 'Operator (in) for Parameter entity is unrecognized or not allowed'>
What I am doing wrong?