Skip to content

Commit 1438d66

Browse files
Alex Kahanhonzakral
authored andcommitted
Removing request_timeout from function doc strings
1 parent 07314a1 commit 1438d66

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

elasticsearch/client/indices.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ def create(self, index, body=None, params=None):
9393
:arg body: The configuration for the index (`settings` and `mappings`)
9494
:arg master_timeout: Specify timeout for connection to master
9595
:arg timeout: Explicit operation timeout
96-
:arg request_timeout: Explicit operation timeout
9796
:arg wait_for_active_shards: Set the number of active shards to wait for
9897
before the operation returns.
9998
:arg include_type_name: Specify whether requests and responses should include a
@@ -192,7 +191,6 @@ def open(self, index, params=None):
192191
ignored when unavailable (missing or closed)
193192
:arg master_timeout: Specify timeout for connection to master
194193
:arg timeout: Explicit operation timeout
195-
:arg request_timeout: Explicit operation timeout
196194
:arg wait_for_active_shards: Sets the number of active shards to wait
197195
for before the operation returns.
198196
"""
@@ -225,7 +223,6 @@ def close(self, index, params=None):
225223
:arg ignore_unavailable: Whether specified concrete indices should be
226224
ignored when unavailable (missing or closed)
227225
:arg master_timeout: Specify timeout for connection to master
228-
:arg request_timeout: Explicit operation timeout
229226
:arg wait_for_active_shards: Sets the number of active shards to wait
230227
for before the operation returns.
231228
"""
@@ -257,7 +254,6 @@ def delete(self, index, params=None):
257254
:arg ignore_unavailable: Ignore unavailable indexes (default: false)
258255
:arg master_timeout: Specify timeout for connection to master
259256
:arg timeout: Explicit operation timeout
260-
:arg request_timeout: Explicit operation timeout
261257
"""
262258
if index in SKIP_IN_PATH:
263259
raise ValueError("Empty value passed for a required argument 'index'.")
@@ -350,7 +346,6 @@ def put_mapping(self, body, doc_type=None, index=None, params=None):
350346
ignored when unavailable (missing or closed)
351347
:arg master_timeout: Specify timeout for connection to master
352348
:arg timeout: Explicit operation timeout
353-
:arg request_timeout: Explicit operation timeout (For pre 7.x ES Clusters)
354349
:arg include_type_name: Specify whether requests and responses should include a
355350
type name (default: depends on Elasticsearch version).
356351
"""
@@ -445,7 +440,6 @@ def put_alias(self, index, name, body=None, params=None):
445440
:arg name: The name of the alias to be created or updated
446441
:arg body: The settings for the alias, such as `routing` or `filter`
447442
:arg master_timeout: Specify timeout for connection to master
448-
:arg request_timeout: Explicit timeout for the operation
449443
"""
450444
for param in (index, name):
451445
if param in SKIP_IN_PATH:
@@ -508,7 +502,6 @@ def update_aliases(self, body, params=None):
508502
509503
:arg body: The definition of `actions` to perform
510504
:arg master_timeout: Specify timeout for connection to master
511-
:arg request_timeout: Request timeout (For pre 7.x ES Clusters)
512505
:arg timeout: Request timeout
513506
"""
514507
if body in SKIP_IN_PATH:
@@ -529,7 +522,6 @@ def delete_alias(self, index, name, params=None):
529522
wildcards); use `_all` to delete all aliases for the specified
530523
indices.
531524
:arg master_timeout: Specify timeout for connection to master
532-
:arg request_timeout: Explicit timeout for the operation (for pre 7.x ES clusters)
533525
:arg timeout: Explicit timeout for the operation
534526
"""
535527
for param in (index, name):
@@ -561,7 +553,6 @@ def put_template(self, name, body, params=None):
561553
:arg master_timeout: Specify timeout for connection to master
562554
:arg order: The order for this template when merging multiple matching
563555
ones (higher numbers are merged later, overriding the lower numbers)
564-
:arg request_timeout: Explicit operation timeout (For pre ES 6 clusters)
565556
:arg timeout: Explicit operation timeout
566557
:arg include_type_name: Specify whether requests and responses should include a
567558
type name (default: depends on Elasticsearch version).
@@ -619,7 +610,6 @@ def delete_template(self, name, params=None):
619610
620611
:arg name: The name of the template
621612
:arg master_timeout: Specify timeout for connection to master
622-
:arg request_timeout: Explicit operation timeout (for pre 7.x clusters)
623613
:arg timeout: Explicit operation timeout
624614
"""
625615
if name in SKIP_IN_PATH:
@@ -1066,7 +1056,6 @@ def shrink(self, index, target, body=None, params=None):
10661056
:arg body: The configuration for the target index (`settings` and
10671057
`aliases`)
10681058
:arg master_timeout: Specify timeout for connection to master
1069-
:arg request_timeout: Explicit operation timeout (For pre 7.x ES clusters)
10701059
:arg timeout: Explicit operation timeout
10711060
:arg wait_for_active_shards: Set the number of active shards to wait for
10721061
on the shrunken index before the operation returns.
@@ -1124,7 +1113,6 @@ def rollover(self, alias, new_index=None, body=None, params=None):
11241113
but not actually performed even if a condition matches. The default
11251114
is false
11261115
:arg master_timeout: Specify timeout for connection to master
1127-
:arg request_timeout: Explicit operation timeout (for pre 7.x ES clusters)
11281116
:arg timeout: Explicit operation timeout
11291117
:arg wait_for_active_shards: Set the number of active shards to wait for
11301118
on the newly created rollover index before the operation returns.

0 commit comments

Comments
 (0)