We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c112399 commit c5f91faCopy full SHA for c5f91fa
docs/api.rst
@@ -26,6 +26,13 @@ them::
26
# ignore 404 and 400
27
es.indices.delete(index='test-index', ignore=[400, 404])
28
29
+You can also specify ``request_timeout`` (float) as part of any API call, this
30
+value will get passed to the ``perform_request`` method of the connection
31
+class::
32
+
33
+ # only wait for 1 second, regardless of the client's default
34
+ es.cluster.health(wait_for_status='yellow', request_timeout=1)
35
36
.. note::
37
38
for compatibility with the Python ecosystem we use ``from_`` instead of
0 commit comments