#NEWLINE# def __init__( self , pool_connections = DEFAULT_POOLSIZE , pool_maxsize = DEFAULT_POOLSIZE , max_retries = DEFAULT_RETRIES , pool_block = DEFAULT_POOLBLOCK ) : #NEWLINE# #INDENT# if ( max_retries == DEFAULT_RETRIES ) : #NEWLINE# #INDENT# self . max_retries = Retry ( 0 , read = False ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . max_retries = Retry . from_int ( max_retries ) #NEWLINE# #UNINDENT# self . config = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . proxy_manager = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# super ( HTTPAdapter , self ) . __init__ ( ) #NEWLINE# self . _pool_connections = pool_connections #NEWLINE# self . _pool_maxsize = pool_maxsize #NEWLINE# self . _pool_block = pool_block #NEWLINE# self . init_poolmanager ( pool_connections , pool_maxsize , block = pool_block )