def discover(self, session, entities, event):
'''Return True if we can handle the discovery.'''
# TODO: Modify to fit your needs.
# Example, only allow a single asset version as selection.
if len(entities) != 1:
return
#entity_type, entity_id = entities[0]
entityt = self._get_entity_type(entities[0])
if entityt != 'Shot':
return
return True
So from the Handler example - this seems correct ?- using the incoming entities ?
But that still doesn't work ?