@@ -35,7 +35,7 @@ class SimulateClient(NamespacedClient):
35
35
body_fields = (
36
36
"docs" ,
37
37
"component_template_substitutions" ,
38
- "index_template_subtitutions " ,
38
+ "index_template_substitutions " ,
39
39
"mapping_addition" ,
40
40
"pipeline_substitutions" ,
41
41
),
@@ -52,7 +52,7 @@ async def ingest(
52
52
error_trace : t .Optional [bool ] = None ,
53
53
filter_path : t .Optional [t .Union [str , t .Sequence [str ]]] = None ,
54
54
human : t .Optional [bool ] = None ,
55
- index_template_subtitutions : t .Optional [
55
+ index_template_substitutions : t .Optional [
56
56
t .Mapping [str , t .Mapping [str , t .Any ]]
57
57
] = None ,
58
58
mapping_addition : t .Optional [t .Mapping [str , t .Any ]] = None ,
@@ -90,7 +90,7 @@ async def ingest(
90
90
an index argument.
91
91
:param component_template_substitutions: A map of component template names to
92
92
substitute component template definition objects.
93
- :param index_template_subtitutions : A map of index template names to substitute
93
+ :param index_template_substitutions : A map of index template names to substitute
94
94
index template definition objects.
95
95
:param mapping_addition:
96
96
:param pipeline: The pipeline to use as the default pipeline. This value can
@@ -127,8 +127,8 @@ async def ingest(
127
127
__body ["component_template_substitutions" ] = (
128
128
component_template_substitutions
129
129
)
130
- if index_template_subtitutions is not None :
131
- __body ["index_template_subtitutions " ] = index_template_subtitutions
130
+ if index_template_substitutions is not None :
131
+ __body ["index_template_substitutions " ] = index_template_substitutions
132
132
if mapping_addition is not None :
133
133
__body ["mapping_addition" ] = mapping_addition
134
134
if pipeline_substitutions is not None :
0 commit comments