python-arango
python-arango copied to clipboard
Add 'read_timeout' option in client.py
- Added
request_timeoutproperty toArangoClientto overwriteDefaultHTTPClient.REQUEST_TIMEOUT - Added
request_timeoutconstructor parameter inArangoClientto initializerequest_timeoutproperty. The default value for this parameter is -1. Any other value supplied, includingNonewill overwriteDefaultHTTPClient.REQUEST_TIMEOUT - Added
# type: ignoreto lines 141 and 146 because they failedmypy. However, they work perfectly well when tested. Any suggestions here is very much appreciated.