python-arango icon indicating copy to clipboard operation
python-arango copied to clipboard

Add 'read_timeout' option in client.py

Open tjoubert opened this issue 3 years ago • 0 comments

  • Added request_timeout property to ArangoClient to overwrite DefaultHTTPClient.REQUEST_TIMEOUT
  • Added request_timeout constructor parameter in ArangoClient to initialize request_timeout property. The default value for this parameter is -1. Any other value supplied, including None will overwrite DefaultHTTPClient.REQUEST_TIMEOUT
  • Added # type: ignore to lines 141 and 146 because they failed mypy. However, they work perfectly well when tested. Any suggestions here is very much appreciated.

tjoubert avatar Aug 05 '22 16:08 tjoubert