#NEWLINE# def get( self , bucket , key = None ) : #NEWLINE# #INDENT# 'Get a Bucket or if key is provided get a Item from the db' #NEWLINE# if ( key is None ) : #NEWLINE# #INDENT# return Bucket ( self , bucket ) #NEWLINE# #UNINDENT# ( key , payload ) = self . _driver . getObject ( key , bucket ) #NEWLINE# return Item ( self . _driver , bucket , key , payload )