def get_connection_pool_set(self, pool_name):
        """Returns a set of connection pools with a given name
        
        @param pool_name: a connection pool name to look up
        """
        with _database_config_lock :
            pool_set = self._pool_map[pool_name]
            if isinstance(pool_set, collections.Sequence ): 
                return pool_set
            else :
                return tuple( pool_set )
Returns a set of connection pools with a given name
        
        @param pool_name: a connection pool name to look up
        
recipes/Python/577072_Global_database_configuraticontext_aware/recipe-577072.py