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

[source, python]
----
resp = client.indices.put_mapping(
    index="my_test_scores",
    properties={
        "total_score": {
            "type": "long"
        }
    },
)
print(resp)
----
