#NEWLINE# def set( self , key , value = None , expire = None ) : #NEWLINE# #INDENT# if callable ( value ) : #NEWLINE# #INDENT# value = value ( ) #NEWLINE# #UNINDENT# return self . storage . set ( key , value , ( expire or self . expiry_time ) )