#NEWLINE# def __init__( self , settings_dict , alias = DEFAULT_DB_ALIAS , allow_thread_sharing = False ) : #NEWLINE# #INDENT# self . connection = None #NEWLINE# self . queries = [ ] #NEWLINE# self . settings_dict = alias #NEWLINE# self . alias = alias #NEWLINE# self . use_debug_cursor = None #NEWLINE# self . savepoint_state = 0 #NEWLINE# self . autocommit = False #NEWLINE# self . transaction_state = [ ] #NEWLINE# self . _dirty = False #NEWLINE# self . in_atomic_block = False #NEWLINE# self . savepoint_ids = [ ] #NEWLINE# self . commit_on_exit = True #NEWLINE# self . needs_rollback = False #NEWLINE# self . close_at = None #NEWLINE# self . closed_in_transaction = False #NEWLINE# self . errors_occurred = False #NEWLINE# self . allow_thread_sharing = allow_thread_sharing #NEWLINE# self . _thread_ident = thread . get_ident ( )