#NEWLINE# def save( self , data , mode = None ) : #NEWLINE# #INDENT# if ( not self . name ) : #NEWLINE# #INDENT# self . name = uuid4 ( ) . hex #NEWLINE# #UNINDENT# cache . set ( ( self . CACHE_PREFIX + self . name ) , data , self . CACHE_LIFETIME )