0

In the moment I have problems with my AQL-Queries via pathon-arango. The request takes sometimes longer than 60 seconds and runs in a timeout.

In the documentation I found this the parameter request_timeout: https://docs.python-arango.com/en/main/specs.html

and implemented it like this:

from arango import ArangoClient
client       = ArangoClient( hosts = "http://localhost:8529", request_timeout = 120  )

and got this as result:

TypeError: __init__() got an unexpected keyword argument 'request_timeout'

Without request_timeout it works fine (apart from the timeouts). What did I miss?

Thomas Dorloff
  • 111
  • 1
  • 1
  • 5
  • Can you quickly check which version you are using as this parameter was just recently added https://github.com/ArangoDB-Community/python-arango/releases/tag/7.5.2 – js84 Oct 18 '22 at 16:53

0 Answers0