// This file is autogenerated, DO NOT EDIT
// mapping/types/shape.asciidoc:140

[source, python]
----
resp = client.index(
    index="example",
    document={
        "location": {
            "type": "point",
            "coordinates": [
                -377.03653,
                389.897676
            ]
        }
    },
)
print(resp)
----
