#NEWLINE# def create_client( self , server ) : #NEWLINE# #INDENT# kwargs = parse_connection_kwargs ( server , db = self . db , password = self . password , socket_timeout = self . socket_timeout , socket_connect_timeout = self . socket_connect_timeout ) #NEWLINE# client = redis . Redis ( ** kwargs ) #NEWLINE# kwargs . update ( parser_class = self . parser_class , connection_pool_class = server . connection_pool_class , connection_pool_class_kwargs = self . connection_pool_class_kwargs ) #NEWLINE# connection_pool = pool . get_connection_pool ( client , ** kwargs ) #NEWLINE# client . connection_pool = connection_pool #NEWLINE# return client