Skip to content

Commit 80818cc

Browse files
Auto-generated code for 9.3 (#3262)
* Auto-generated API code * remove project_routing namespace --------- Co-authored-by: Miguel Grinberg <miguel.grinberg@gmail.com>
1 parent 6baa03f commit 80818cc

File tree

12 files changed

+67
-279
lines changed

12 files changed

+67
-279
lines changed

elasticsearch/_async/client/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
from .monitoring import MonitoringClient
6565
from .nodes import NodesClient
6666
from .project import ProjectClient
67-
from .project_routing import ProjectRoutingClient
6867
from .query_rules import QueryRulesClient
6968
from .rollup import RollupClient
7069
from .search_application import SearchApplicationClient
@@ -372,7 +371,6 @@ def __init__(
372371
self.ml = MlClient(self)
373372
self.monitoring = MonitoringClient(self)
374373
self.project = ProjectClient(self)
375-
self.project_routing = ProjectRoutingClient(self)
376374
self.query_rules = QueryRulesClient(self)
377375
self.rollup = RollupClient(self)
378376
self.search_application = SearchApplicationClient(self)

elasticsearch/_async/client/cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ async def get_component_template(
302302
303303
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-component-template>`_
304304
305-
:param name: Comma-separated list of component template names used to limit the
306-
request. Wildcard (`*`) expressions are supported.
305+
:param name: Name of component template to retrieve. Wildcard (`*`) expressions
306+
are supported.
307307
:param flat_settings: If `true`, returns settings in flat format.
308308
:param include_defaults: Return all default configurations for the component
309309
template

elasticsearch/_async/client/indices.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2177,7 +2177,7 @@ async def forcemerge(
21772177
:param ignore_unavailable: Whether specified concrete indices should be ignored
21782178
when unavailable (missing or closed)
21792179
:param max_num_segments: The number of segments the index should be merged into
2180-
(defayult: dynamic)
2180+
(default: dynamic)
21812181
:param only_expunge_deletes: Specify whether the operation should only expunge
21822182
deleted documents
21832183
:param wait_for_completion: Should the request wait until the force merge is
@@ -4275,7 +4275,8 @@ async def put_index_template(
42754275
:param ignore_missing_component_templates: The configuration option ignore_missing_component_templates
42764276
can be used when an index template references a component template that might
42774277
not exist
4278-
:param index_patterns: Name of the index template to create.
4278+
:param index_patterns: Array of wildcard (`*`) expressions used to match the
4279+
names of data streams and indices during creation.
42794280
:param master_timeout: Period to wait for a connection to the master node. If
42804281
no response is received before the timeout expires, the request fails and
42814282
returns an error.

elasticsearch/_async/client/ml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5759,7 +5759,7 @@ async def validate(
57595759
<p>Validate an anomaly detection job.</p>
57605760
57615761
5762-
`<https://www.elastic.co/guide/en/machine-learning/master/ml-jobs.html>`_
5762+
`<https://www.elastic.co/guide/en/machine-learning/9.3/ml-jobs.html>`_
57635763
57645764
:param analysis_config:
57655765
:param analysis_limits:

elasticsearch/_async/client/project_routing.py

Lines changed: 0 additions & 264 deletions
This file was deleted.

elasticsearch/_sync/client/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
from .monitoring import MonitoringClient
6565
from .nodes import NodesClient
6666
from .project import ProjectClient
67-
from .project_routing import ProjectRoutingClient
6867
from .query_rules import QueryRulesClient
6968
from .rollup import RollupClient
7069
from .search_application import SearchApplicationClient
@@ -372,7 +371,6 @@ def __init__(
372371
self.ml = MlClient(self)
373372
self.monitoring = MonitoringClient(self)
374373
self.project = ProjectClient(self)
375-
self.project_routing = ProjectRoutingClient(self)
376374
self.query_rules = QueryRulesClient(self)
377375
self.rollup = RollupClient(self)
378376
self.search_application = SearchApplicationClient(self)

elasticsearch/_sync/client/cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ def get_component_template(
302302
303303
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-component-template>`_
304304
305-
:param name: Comma-separated list of component template names used to limit the
306-
request. Wildcard (`*`) expressions are supported.
305+
:param name: Name of component template to retrieve. Wildcard (`*`) expressions
306+
are supported.
307307
:param flat_settings: If `true`, returns settings in flat format.
308308
:param include_defaults: Return all default configurations for the component
309309
template

elasticsearch/_sync/client/indices.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2177,7 +2177,7 @@ def forcemerge(
21772177
:param ignore_unavailable: Whether specified concrete indices should be ignored
21782178
when unavailable (missing or closed)
21792179
:param max_num_segments: The number of segments the index should be merged into
2180-
(defayult: dynamic)
2180+
(default: dynamic)
21812181
:param only_expunge_deletes: Specify whether the operation should only expunge
21822182
deleted documents
21832183
:param wait_for_completion: Should the request wait until the force merge is
@@ -4275,7 +4275,8 @@ def put_index_template(
42754275
:param ignore_missing_component_templates: The configuration option ignore_missing_component_templates
42764276
can be used when an index template references a component template that might
42774277
not exist
4278-
:param index_patterns: Name of the index template to create.
4278+
:param index_patterns: Array of wildcard (`*`) expressions used to match the
4279+
names of data streams and indices during creation.
42794280
:param master_timeout: Period to wait for a connection to the master node. If
42804281
no response is received before the timeout expires, the request fails and
42814282
returns an error.

elasticsearch/_sync/client/ml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5759,7 +5759,7 @@ def validate(
57595759
<p>Validate an anomaly detection job.</p>
57605760
57615761
5762-
`<https://www.elastic.co/guide/en/machine-learning/master/ml-jobs.html>`_
5762+
`<https://www.elastic.co/guide/en/machine-learning/9.3/ml-jobs.html>`_
57635763
57645764
:param analysis_config:
57655765
:param analysis_limits:

elasticsearch/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# under the License.
1717

1818
__versionstr__ = "9.2.1"
19-
__es_specification_commit__ = "273e6f968c931227e7bb671a9101fab5156f6533"
19+
__es_specification_commit__ = "47446297742a4982605ef2e72dc6758ff96e3885"

0 commit comments

Comments
 (0)