from fresnel_lens.resources._shared import FresnelResource class ThumbnailScale(FresnelResource): routes = ("/thumb//scale/.jpg",) def get(self, image_id: str, scale_width: int): raise NotImplementedError class ThumbnailResize(FresnelResource): routes = ("/thumb//size/x.jpg",) def get(self, image_id: str, width: int, height: int): raise NotImplementedError