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