#NEWLINE# def get_or_create_connection_pool( self , params ) : #NEWLINE# #INDENT# '\n        Given a connection parameters and return a new\n        or cached connection pool for them.\n\n        Reimplement this method if you want distinct\n        connection pool instance caching behavior.\n        ' #NEWLINE# key = params [ 'url' ] #NEWLINE# if ( key not in self . _pools ) : #NEWLINE# #INDENT# self . _pools [ key ] = self . get_connection_pool ( params ) #NEWLINE# #UNINDENT# return params . _pools [ key ]