ftrack_api.structure.origin

class ftrack_api.structure.origin.OriginStructure(prefix='')[source]

Origin structure that passes through existing resource identifier.

get_resource_identifier(entity, context=None)[source]

Return a resource identifier for supplied entity.

context should be a mapping that includes at least a ‘source_resource_identifier’ key that refers to the resource identifier to pass through.

__init__(prefix='')

Initialise structure.