Skip to content

Auto-generated code for 8.17 #2834

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
Mar 10, 2025
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
10 changes: 5 additions & 5 deletions elasticsearch/_async/client/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SimulateClient(NamespacedClient):
body_fields=(
"docs",
"component_template_substitutions",
"index_template_subtitutions",
"index_template_substitutions",
"mapping_addition",
"pipeline_substitutions",
),
Expand All @@ -52,7 +52,7 @@ async def ingest(
error_trace: t.Optional[bool] = None,
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
human: t.Optional[bool] = None,
index_template_subtitutions: t.Optional[
index_template_substitutions: t.Optional[
t.Mapping[str, t.Mapping[str, t.Any]]
] = None,
mapping_addition: t.Optional[t.Mapping[str, t.Any]] = None,
Expand Down Expand Up @@ -90,7 +90,7 @@ async def ingest(
an index argument.
:param component_template_substitutions: A map of component template names to
substitute component template definition objects.
:param index_template_subtitutions: A map of index template names to substitute
:param index_template_substitutions: A map of index template names to substitute
index template definition objects.
:param mapping_addition:
:param pipeline: The pipeline to use as the default pipeline. This value can
Expand Down Expand Up @@ -127,8 +127,8 @@ async def ingest(
__body["component_template_substitutions"] = (
component_template_substitutions
)
if index_template_subtitutions is not None:
__body["index_template_subtitutions"] = index_template_subtitutions
if index_template_substitutions is not None:
__body["index_template_substitutions"] = index_template_substitutions
if mapping_addition is not None:
__body["mapping_addition"] = mapping_addition
if pipeline_substitutions is not None:
Expand Down
10 changes: 5 additions & 5 deletions elasticsearch/_sync/client/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SimulateClient(NamespacedClient):
body_fields=(
"docs",
"component_template_substitutions",
"index_template_subtitutions",
"index_template_substitutions",
"mapping_addition",
"pipeline_substitutions",
),
Expand All @@ -52,7 +52,7 @@ def ingest(
error_trace: t.Optional[bool] = None,
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
human: t.Optional[bool] = None,
index_template_subtitutions: t.Optional[
index_template_substitutions: t.Optional[
t.Mapping[str, t.Mapping[str, t.Any]]
] = None,
mapping_addition: t.Optional[t.Mapping[str, t.Any]] = None,
Expand Down Expand Up @@ -90,7 +90,7 @@ def ingest(
an index argument.
:param component_template_substitutions: A map of component template names to
substitute component template definition objects.
:param index_template_subtitutions: A map of index template names to substitute
:param index_template_substitutions: A map of index template names to substitute
index template definition objects.
:param mapping_addition:
:param pipeline: The pipeline to use as the default pipeline. This value can
Expand Down Expand Up @@ -127,8 +127,8 @@ def ingest(
__body["component_template_substitutions"] = (
component_template_substitutions
)
if index_template_subtitutions is not None:
__body["index_template_subtitutions"] = index_template_subtitutions
if index_template_substitutions is not None:
__body["index_template_substitutions"] = index_template_substitutions
if mapping_addition is not None:
__body["mapping_addition"] = mapping_addition
if pipeline_substitutions is not None:
Expand Down