def resolve_cover(self, info): return ImageType( sizes=build_image_types(info.context, self.cover, 'festival'))
def resolve_avatar(self, info): from gymkhana.utils import build_image_types return ImageType( sizes=build_image_types(info.context, self.avatar, 'festival'))
def resolve_photo(self, info): return ImageType( sizes=build_image_types(info.context, self.photo, 'festival'))