// This file is autogenerated, DO NOT EDIT
// mapping/types/geo-shape.asciidoc:106

[source, python]
----
resp = client.indices.create(
    index="example",
    mappings={
        "properties": {
            "location": {
                "type": "geo_shape"
            }
        }
    },
)
print(resp)
----
