Skip to content

Run code generation #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions elasticsearch_serverless/_async/client/indices.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,9 +672,10 @@ async def delete_index_template(
timeout: t.Optional[t.Union["t.Literal[-1]", "t.Literal[0]", str]] = None,
) -> ObjectApiResponse[t.Any]:
"""
The provided <index-template> may contain multiple template names separated by
a comma. If multiple template names are specified then there is no wildcard support
and the provided names should match completely with existing templates.
Delete an index template. The provided <index-template> may contain multiple
template names separated by a comma. If multiple template names are specified
then there is no wildcard support and the provided names should match completely
with existing templates.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-template.html>`_

Expand Down Expand Up @@ -1298,7 +1299,7 @@ async def get_index_template(
pretty: t.Optional[bool] = None,
) -> ObjectApiResponse[t.Any]:
"""
Returns information about one or more index templates.
Get index templates. Returns information about one or more index templates.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-template.html>`_

Expand Down Expand Up @@ -1868,7 +1869,7 @@ async def put_index_template(
body: t.Optional[t.Dict[str, t.Any]] = None,
) -> ObjectApiResponse[t.Any]:
"""
Creates or updates an index template. Index templates define settings, mappings,
Create or update an index template. Index templates define settings, mappings,
and aliases that can be applied automatically to new indices.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-template.html>`_
Expand Down Expand Up @@ -2270,7 +2271,7 @@ async def put_template(
body: t.Optional[t.Dict[str, t.Any]] = None,
) -> ObjectApiResponse[t.Any]:
"""
Creates or updates an index template. Index templates define settings, mappings,
Create or update an index template. Index templates define settings, mappings,
and aliases that can be applied automatically to new indices.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates-v1.html>`_
Expand Down Expand Up @@ -2592,7 +2593,8 @@ async def simulate_index_template(
pretty: t.Optional[bool] = None,
) -> ObjectApiResponse[t.Any]:
"""

Simulate an index. Returns the index configuration that would be applied to the
specified index from an existing index template.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-index.html>`_

Expand Down Expand Up @@ -2671,7 +2673,8 @@ async def simulate_template(
body: t.Optional[t.Dict[str, t.Any]] = None,
) -> ObjectApiResponse[t.Any]:
"""
Returns the index configuration that would be applied by a particular index template.
Simulate an index template. Returns the index configuration that would be applied
by a particular index template.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-template.html>`_

Expand Down
19 changes: 11 additions & 8 deletions elasticsearch_serverless/_sync/client/indices.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,9 +672,10 @@ def delete_index_template(
timeout: t.Optional[t.Union["t.Literal[-1]", "t.Literal[0]", str]] = None,
) -> ObjectApiResponse[t.Any]:
"""
The provided <index-template> may contain multiple template names separated by
a comma. If multiple template names are specified then there is no wildcard support
and the provided names should match completely with existing templates.
Delete an index template. The provided <index-template> may contain multiple
template names separated by a comma. If multiple template names are specified
then there is no wildcard support and the provided names should match completely
with existing templates.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-template.html>`_

Expand Down Expand Up @@ -1298,7 +1299,7 @@ def get_index_template(
pretty: t.Optional[bool] = None,
) -> ObjectApiResponse[t.Any]:
"""
Returns information about one or more index templates.
Get index templates. Returns information about one or more index templates.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-template.html>`_

Expand Down Expand Up @@ -1868,7 +1869,7 @@ def put_index_template(
body: t.Optional[t.Dict[str, t.Any]] = None,
) -> ObjectApiResponse[t.Any]:
"""
Creates or updates an index template. Index templates define settings, mappings,
Create or update an index template. Index templates define settings, mappings,
and aliases that can be applied automatically to new indices.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-template.html>`_
Expand Down Expand Up @@ -2270,7 +2271,7 @@ def put_template(
body: t.Optional[t.Dict[str, t.Any]] = None,
) -> ObjectApiResponse[t.Any]:
"""
Creates or updates an index template. Index templates define settings, mappings,
Create or update an index template. Index templates define settings, mappings,
and aliases that can be applied automatically to new indices.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates-v1.html>`_
Expand Down Expand Up @@ -2592,7 +2593,8 @@ def simulate_index_template(
pretty: t.Optional[bool] = None,
) -> ObjectApiResponse[t.Any]:
"""

Simulate an index. Returns the index configuration that would be applied to the
specified index from an existing index template.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-index.html>`_

Expand Down Expand Up @@ -2671,7 +2673,8 @@ def simulate_template(
body: t.Optional[t.Dict[str, t.Any]] = None,
) -> ObjectApiResponse[t.Any]:
"""
Returns the index configuration that would be applied by a particular index template.
Simulate an index template. Returns the index configuration that would be applied
by a particular index template.

`<https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-simulate-template.html>`_

Expand Down
Loading