def __init__(self, frame, img, content_mode=SCALE_TO_FILL):

        assert img is not None

        if frame is None:
            frame = pygame.Rect((0, 0), img.get_size())
        elif frame.w == 0 and frame.h == 0:
            frame.size = img.get_size()

        view.View.__init__(self, frame)

        self._enabled = False
        self.content_mode = content_mode
        self.image = img
get flavor metadata.
dataset/ETHPy150Open fictorial/pygameui/pygameui/imageview.py/ImageView.__init__--crossover with--dataset/ETHPy150Open openstack/compass-core/compass/db/api/metadata_holder.py/_get_flavor_metadata