@@ -35,7 +35,7 @@ class SimulateClient(NamespacedClient):
3535 body_fields = (
3636 "docs" ,
3737 "component_template_substitutions" ,
38- "index_template_subtitutions " ,
38+ "index_template_substitutions " ,
3939 "mapping_addition" ,
4040 "pipeline_substitutions" ,
4141 ),
@@ -52,7 +52,7 @@ async def ingest(
5252 error_trace : t .Optional [bool ] = None ,
5353 filter_path : t .Optional [t .Union [str , t .Sequence [str ]]] = None ,
5454 human : t .Optional [bool ] = None ,
55- index_template_subtitutions : t .Optional [
55+ index_template_substitutions : t .Optional [
5656 t .Mapping [str , t .Mapping [str , t .Any ]]
5757 ] = None ,
5858 mapping_addition : t .Optional [t .Mapping [str , t .Any ]] = None ,
@@ -90,7 +90,7 @@ async def ingest(
9090 an index argument.
9191 :param component_template_substitutions: A map of component template names to
9292 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
9494 index template definition objects.
9595 :param mapping_addition:
9696 :param pipeline: The pipeline to use as the default pipeline. This value can
@@ -127,8 +127,8 @@ async def ingest(
127127 __body ["component_template_substitutions" ] = (
128128 component_template_substitutions
129129 )
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
132132 if mapping_addition is not None :
133133 __body ["mapping_addition" ] = mapping_addition
134134 if pipeline_substitutions is not None :
0 commit comments