Removing request_timeout from function doc strings
This commit is contained in:
@@ -93,7 +93,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
:arg body: The configuration for the index (`settings` and `mappings`)
|
:arg body: The configuration for the index (`settings` and `mappings`)
|
||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg timeout: Explicit operation timeout
|
:arg timeout: Explicit operation timeout
|
||||||
:arg request_timeout: Explicit operation timeout
|
|
||||||
:arg wait_for_active_shards: Set the number of active shards to wait for
|
:arg wait_for_active_shards: Set the number of active shards to wait for
|
||||||
before the operation returns.
|
before the operation returns.
|
||||||
:arg include_type_name: Specify whether requests and responses should include a
|
:arg include_type_name: Specify whether requests and responses should include a
|
||||||
@@ -192,7 +191,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
ignored when unavailable (missing or closed)
|
ignored when unavailable (missing or closed)
|
||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg timeout: Explicit operation timeout
|
:arg timeout: Explicit operation timeout
|
||||||
:arg request_timeout: Explicit operation timeout
|
|
||||||
:arg wait_for_active_shards: Sets the number of active shards to wait
|
:arg wait_for_active_shards: Sets the number of active shards to wait
|
||||||
for before the operation returns.
|
for before the operation returns.
|
||||||
"""
|
"""
|
||||||
@@ -225,7 +223,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
:arg ignore_unavailable: Whether specified concrete indices should be
|
:arg ignore_unavailable: Whether specified concrete indices should be
|
||||||
ignored when unavailable (missing or closed)
|
ignored when unavailable (missing or closed)
|
||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg request_timeout: Explicit operation timeout
|
|
||||||
:arg wait_for_active_shards: Sets the number of active shards to wait
|
:arg wait_for_active_shards: Sets the number of active shards to wait
|
||||||
for before the operation returns.
|
for before the operation returns.
|
||||||
"""
|
"""
|
||||||
@@ -257,7 +254,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
:arg ignore_unavailable: Ignore unavailable indexes (default: false)
|
:arg ignore_unavailable: Ignore unavailable indexes (default: false)
|
||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg timeout: Explicit operation timeout
|
:arg timeout: Explicit operation timeout
|
||||||
:arg request_timeout: Explicit operation timeout
|
|
||||||
"""
|
"""
|
||||||
if index in SKIP_IN_PATH:
|
if index in SKIP_IN_PATH:
|
||||||
raise ValueError("Empty value passed for a required argument 'index'.")
|
raise ValueError("Empty value passed for a required argument 'index'.")
|
||||||
@@ -350,7 +346,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
ignored when unavailable (missing or closed)
|
ignored when unavailable (missing or closed)
|
||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg timeout: Explicit operation timeout
|
:arg timeout: Explicit operation timeout
|
||||||
:arg request_timeout: Explicit operation timeout (For pre 7.x ES Clusters)
|
|
||||||
:arg include_type_name: Specify whether requests and responses should include a
|
:arg include_type_name: Specify whether requests and responses should include a
|
||||||
type name (default: depends on Elasticsearch version).
|
type name (default: depends on Elasticsearch version).
|
||||||
"""
|
"""
|
||||||
@@ -445,7 +440,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
:arg name: The name of the alias to be created or updated
|
:arg name: The name of the alias to be created or updated
|
||||||
:arg body: The settings for the alias, such as `routing` or `filter`
|
:arg body: The settings for the alias, such as `routing` or `filter`
|
||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg request_timeout: Explicit timeout for the operation
|
|
||||||
"""
|
"""
|
||||||
for param in (index, name):
|
for param in (index, name):
|
||||||
if param in SKIP_IN_PATH:
|
if param in SKIP_IN_PATH:
|
||||||
@@ -508,7 +502,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
|
|
||||||
:arg body: The definition of `actions` to perform
|
:arg body: The definition of `actions` to perform
|
||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg request_timeout: Request timeout (For pre 7.x ES Clusters)
|
|
||||||
:arg timeout: Request timeout
|
:arg timeout: Request timeout
|
||||||
"""
|
"""
|
||||||
if body in SKIP_IN_PATH:
|
if body in SKIP_IN_PATH:
|
||||||
@@ -529,7 +522,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
wildcards); use `_all` to delete all aliases for the specified
|
wildcards); use `_all` to delete all aliases for the specified
|
||||||
indices.
|
indices.
|
||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg request_timeout: Explicit timeout for the operation (for pre 7.x ES clusters)
|
|
||||||
:arg timeout: Explicit timeout for the operation
|
:arg timeout: Explicit timeout for the operation
|
||||||
"""
|
"""
|
||||||
for param in (index, name):
|
for param in (index, name):
|
||||||
@@ -561,7 +553,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg order: The order for this template when merging multiple matching
|
:arg order: The order for this template when merging multiple matching
|
||||||
ones (higher numbers are merged later, overriding the lower numbers)
|
ones (higher numbers are merged later, overriding the lower numbers)
|
||||||
:arg request_timeout: Explicit operation timeout (For pre ES 6 clusters)
|
|
||||||
:arg timeout: Explicit operation timeout
|
:arg timeout: Explicit operation timeout
|
||||||
:arg include_type_name: Specify whether requests and responses should include a
|
:arg include_type_name: Specify whether requests and responses should include a
|
||||||
type name (default: depends on Elasticsearch version).
|
type name (default: depends on Elasticsearch version).
|
||||||
@@ -619,7 +610,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
|
|
||||||
:arg name: The name of the template
|
:arg name: The name of the template
|
||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg request_timeout: Explicit operation timeout (for pre 7.x clusters)
|
|
||||||
:arg timeout: Explicit operation timeout
|
:arg timeout: Explicit operation timeout
|
||||||
"""
|
"""
|
||||||
if name in SKIP_IN_PATH:
|
if name in SKIP_IN_PATH:
|
||||||
@@ -1066,7 +1056,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
:arg body: The configuration for the target index (`settings` and
|
:arg body: The configuration for the target index (`settings` and
|
||||||
`aliases`)
|
`aliases`)
|
||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg request_timeout: Explicit operation timeout (For pre 7.x ES clusters)
|
|
||||||
:arg timeout: Explicit operation timeout
|
:arg timeout: Explicit operation timeout
|
||||||
:arg wait_for_active_shards: Set the number of active shards to wait for
|
:arg wait_for_active_shards: Set the number of active shards to wait for
|
||||||
on the shrunken index before the operation returns.
|
on the shrunken index before the operation returns.
|
||||||
@@ -1124,7 +1113,6 @@ class IndicesClient(NamespacedClient):
|
|||||||
but not actually performed even if a condition matches. The default
|
but not actually performed even if a condition matches. The default
|
||||||
is false
|
is false
|
||||||
:arg master_timeout: Specify timeout for connection to master
|
:arg master_timeout: Specify timeout for connection to master
|
||||||
:arg request_timeout: Explicit operation timeout (for pre 7.x ES clusters)
|
|
||||||
:arg timeout: Explicit operation timeout
|
:arg timeout: Explicit operation timeout
|
||||||
:arg wait_for_active_shards: Set the number of active shards to wait for
|
:arg wait_for_active_shards: Set the number of active shards to wait for
|
||||||
on the newly created rollover index before the operation returns.
|
on the newly created rollover index before the operation returns.
|
||||||
|
|||||||
Reference in New Issue
Block a user