#NEWLINE# def get_connection( self ) : #NEWLINE# #INDENT# conn = Connection ( self , upgrade_lock = self . _upgrade_lock ) #NEWLINE# if ( not self . _validated ) : #NEWLINE# #INDENT# conn . validate ( max_retries = self . _max_retries ) #NEWLINE# self . _validated = True #NEWLINE# #UNINDENT# return conn