#NEWLINE# @ capabilities . check #NEWLINE# def get( self , location , offset = 0 , chunk_size = None , context = None ) : #NEWLINE# #INDENT# '\n        Takes a `glance_store.location.Location` object that indicates\n        where to find the image file, and returns a tuple of generator\n        (for reading the image file) and image_size\n\n        :param location: `glance_store.location.Location` object, supplied\n                        from glance_store.location.get_location_from_uri()\n        :raises: `glance_store.exceptions.NotFound` if image does not exist\n        ' #NEWLINE# key = self . _retrieve_key ( cs ) #NEWLINE# cs = self . READ_CHUNKSIZE #NEWLINE# key . BufferSize = cs #NEWLINE# class ChunkedIndexable ( glance_store . Indexable ) : #NEWLINE# #INDENT# def another( self ) : #NEWLINE# #INDENT# return ( self . wrapped . fp . read ( cs ) if self . wrapped . fp else None ) #NEWLINE# #UNINDENT# #UNINDENT# return ( ChunkedIndexable ( ChunkedFile ( key , cs ) , key . size ) , key . size )