// This file is autogenerated, DO NOT EDIT
// docs/update-by-query.asciidoc:331

[source, python]
----
resp = client.update_by_query(
    index="my-index-000001",
    conflicts="proceed",
    query={
        "term": {
            "user.id": "kimchy"
        }
    },
)
print(resp)
----
