(self, image)
TODO: Docstring for save_image

        @param image TODO

        @return TODO
TODO: Docstring for save_image
TODO : Docstring for save_image
def save_image(self, image):
        """
        TODO: Docstring for save_image

        @param image TODO

        @return TODO
        """
        image_id = str(image.identifier)
        metadata = self._from_mongo_meta(self.collection.find_one( { "_id": image_id } ))
        if not metadata:
            raise ImageFactoryException('Image %s not managed, use "add_image()" first.' % image_id)
        self._save_image(image)
def save_image ( self , image ) : image_id = str ( image . identifier ) metadata = self . _from_mongo_meta ( self . collection . find_one ( { "_id" : image_id } ) ) if not metadata : raise ImageFactoryException ( 'Image %s not managed, use "add_image()" first.' % image_id ) self . _save_image ( image )