Closed amotl closed 7 months ago
Permit urllib3.Timeout instances for defining timeout values. Using that, you can configure both the socket connect and read timeout settings, in seconds.
urllib3.Timeout
connect
read
When defining the timeout value as urllib3.Timeout instance,
timeout
HttpClient(crate_host, timeout=urllib3.Timeout(connect=0.01, read=None))
this error is raised:
float() argument must be a string or a real number, not 'Timeout'
About
Permit
urllib3.Timeout
instances for defining timeout values. Using that, you can configure both the socketconnect
andread
timeout settings, in seconds.Problem
When defining the
timeout
value asurllib3.Timeout
instance,this error is raised:
References