// This file is autogenerated, DO NOT EDIT
// scripting/using.asciidoc:52

[source, python]
----
resp = client.index(
    index="my-index-000001",
    id="1",
    document={
        "my_field": 5
    },
)
print(resp)
----
