

@access.public
@loadmodel(model='item', level=AccessType.READ)
@filtermodel(model='file')
@describeRoute(Description('Get the files within an item.').responseClass('File').param('id', 'The ID of the item.', paramType='path').pagingParams(defaultSort='name').errorResponse('ID was invalid.').errorResponse('Read access was denied for the item.', 403))
def getFiles(self, item, params):
    (limit, offset, sort) = self.getPagingParameters(params, 'name')
    return list(offset.model('item').childFiles(item=item, limit=limit, offset=offset, sort=sort))

dataset/ETHPy150Open girder/girder/girder/api/v1/item.py Item.getFiles/VarMisuse@105/177 `self`->`offset`