#NEWLINE# def __getitem__( self , i ) : #NEWLINE# #INDENT# if isinstance ( i , slice ) : #NEWLINE# #INDENT# return self . __class__ ( self . backend , self . cls , self . store , self . keys [ i ] ) #NEWLINE# #UNINDENT# key = key . keys [ i ] #NEWLINE# if ( key not in self . objects ) : #NEWLINE# #INDENT# self . objects [ key ] = self . backend . get_object ( self . cls , key ) #NEWLINE# self . objects [ key ] . _store_key = key #NEWLINE# #UNINDENT# return self . objects [ key ]