cohesity / management-sdk-python

Cohesity Management SDK for Python.
Apache License 2.0
21 stars 20 forks source link

Unable to set http_request_timeout #75

Open fs-monacocloud opened 1 year ago

fs-monacocloud commented 1 year ago

🐛 Bug Report

Refreshing a protection source takes a lot of time so I need to momentarily increase the request timeout. When I set it using the variable in CohesityClient.config it doesn't have any effect.

To Reproduce

(Write your steps here:)

  1. Instantiate a client (named c here)
  2. Edit the variable c.config.http_request_timeout
  3. Make a call that takes a lot of time

Expected behavior

The timeout used in the lib should be the one I set in the variable

Actual Behavior

The call fails with a TimeoutError and the timeout value is shown as being 60 Note that I checked if editing the default value has an impact and it is the case, it seems it is only about editing the value after object creation.