def METHOD_NAME(self, thumbnails_dict):
    return [{
        'url': url,
        'preference': index,
    } for index, url in enumerate(
        traverse_obj(thumbnails_dict, (('small', 'medium', 'large'),))) if url]