// This file is autogenerated, DO NOT EDIT
// indices/get-mapping.asciidoc:85

[source, python]
----
resp = client.indices.get_mapping(
    index="*",
)
print(resp)

resp1 = client.indices.get_mapping(
    index="_all",
)
print(resp1)

resp2 = client.indices.get_mapping()
print(resp2)
----
