Skip to content
Myr

Remove int type on max_retries argument.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Carson Lam · committed by Carson Lam · parent 645ac30 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/adapters.py+1 added-1 removed
63 unmodified lines
64 covers.6566 :param pool_connections: The number of urllib3 connection pools to cache.67 :param pool_maxsize: The maximum number of connections to save in the pool.68 :param int max_retries: The maximum number of retries each connection68 :param max_retries: The maximum number of retries each connection69 should attempt. Note, this applies only to failed DNS lookups, socket70 connections and connection timeouts, never to requests where data has71 made it to the server. By default, Requests does not retry failed72 connections. If you need granular control over the conditions under
381 unmodified lines