def recalculateSize(self, item):
        size = 0
        for file in self.childFiles(item):
            # We could add a recalculateSize to the file model, in which case
            # this would be:
            # size += self.model('file').recalculateSize(file)
            size += file.get('size', 0)
        delta = size-item.get('size', 0)
        if delta:
            logger.info('Item %s was wrong size: was %d, is %d' % (
                item['_id'], item['size'], size))
            item['size'] = size
            self.update({'_id': item['_id']}, update={'$set': {'size': size}})
            self.propagateSizeChange(item, delta)
        return size
Generates an identifier from a list of column names obeying a certain string length.
dataset/ETHPy150Open girder/girder/girder/models/item.py/Item.recalculateSize--crossover with--dataset/ETHPy150Open sdispater/orator/orator/dbal/abstract_asset.py/AbstractAsset._generate_identifier_name