Unverified Kaydet (Commit) 82390324 authored tarafından Pierre Tardy's avatar Pierre Tardy

fix for got an unexpected keyword argument 'num_pools'

requests's HTTPAdapter API is pool_connections for number of connection of the pool
Signed-off-by: 's avatarPierre Tardy <tardyp@gmail.com>
üst 89a1ffa7
...@@ -86,7 +86,7 @@ class Client( ...@@ -86,7 +86,7 @@ class Client(
tls.configure_client(self) tls.configure_client(self)
elif tls: elif tls:
self._custom_adapter = ssladapter.SSLAdapter( self._custom_adapter = ssladapter.SSLAdapter(
num_pools=num_pools pool_connections=num_pools
) )
self.mount('https://', self._custom_adapter) self.mount('https://', self._custom_adapter)
self.base_url = base_url self.base_url = base_url
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment