예제 #1
0
 def resolve_cover(self, info):
     return ImageType(
         sizes=build_image_types(info.context, self.cover, 'festival'))
예제 #2
0
 def resolve_avatar(self, info):
     from gymkhana.utils import build_image_types
     return ImageType(
         sizes=build_image_types(info.context, self.avatar, 'festival'))
예제 #3
0
 def resolve_photo(self, info):
     return ImageType(
         sizes=build_image_types(info.context, self.photo, 'festival'))