Skip to content

Commit

Permalink
Run code generation (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Jun 28, 2024
1 parent ff1bc71 commit 7fe0124
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 16 deletions.
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

0 comments on commit 7fe0124

Please sign in to comment.