def load(self, image=None):
    '''load an image, either an actual path on the filesystem or a uri.

       Parameters
       ==========
       image: the image path or uri to load (e.g., docker://ubuntu 

    '''
    from spython.image import Image
    from spython.instance import Instance

    self.simage = Image(image)

    if image is not None:
        if image.startswith('instance://'):
            self.simage = Instance(image)
        bot.info(self.simage)
def load ( self , image = None ) : from spython . image import Image from spython . instance import Instance self . simage = Image ( image ) if image is not None : if image . startswith ( 'instance://' ) : self . simage = Instance ( image ) bot . info ( self . simage )
load an image, either an actual path on the filesystem or a uri.

       Parameters
       ==========
       image: the image path or uri to load (e.g., docker://ubuntu