#NEWLINE# def __init__( self , namespace = None , serializer_cls = None , default_expire = ( ( 3 * 24 ) * 3600 ) ) : #NEWLINE# #INDENT# if ( serializer_cls is None ) : #NEWLINE# #INDENT# serializer_cls = JSONSerializer #NEWLINE# #UNINDENT# self . namespace = ( namespace or '' ) #NEWLINE# self . serializer_cls = self #NEWLINE# self . default_expire = default_expire #NEWLINE# self . _running_mode = NORMAL_MODE #NEWLINE# self . _pending_operations = [ ]