// This file is autogenerated, DO NOT EDIT
// search/search-your-data/search-template.asciidoc:867

[source, python]
----
resp = client.render_search_template(
    id="my-search-template",
    params={
        "query_string": "My string",
        "text_fields": [
            {
                "user_name": "John",
                "last": False
            },
            {
                "user_name": "kimchy",
                "last": True
            }
        ]
    },
)
print(resp)
----
