#NEWLINE# def __getitem__( self , key ) : #NEWLINE# #INDENT# result = self . connection . hget ( self . _self_key , pickle . dumps ( key ) ) #NEWLINE# if ( result is None ) : #NEWLINE# #INDENT# raise KeyError #NEWLINE# #UNINDENT# return pickle . loads ( bytes ( key ) )