def __missing__(self, key):
        """Create, store and return dict for given key.

        That is, the key is a string representing a path
        wherein to find an image to be loaded/rendered
        according to specific render settings.

        Parameters
        ==========
        key (string)
            represents the path wherein to find the image.
        """
        ### if only the name of the image was provided,
        ### we join it with the path use to store images
        ### used in the app

        if len(Path(key).parts) == 1:
            key = str(IMAGES_DIR / key)

        ### we create a surface map for the key, store and
        ### return it
        image_surf_map = self[key] = ImageSurfaceMap(key)

        return image_surf_map
Create, store and return dict for given key.

        That is, the key is a string representing a path
        wherein to find an image to be loaded/rendered
        according to specific render settings.

        Parameters
        ==========
        key (string)
            represents the path wherein to find the image.
        
nodezator/imagesman/cache.py