Source code for FTrackCore.api.structure.entity_id

# :coding: utf-8
# :copyright: Copyright (c) 2015 ftrack

from .base import Structure


[docs]class EntityIdStructure(Structure): '''Id pass-through structure.'''
[docs] def getResourceIdentifier(self, entity): '''Return a *resourceIdentifier* for supplied *entity*.''' return entity.getId()