// This file is autogenerated, DO NOT EDIT
// migration/apis/create-index-from-source.asciidoc:85

[source, python]
----
resp = client.indices.create_from(
    source="my-index",
    dest="my-new-index",
    create_from=None,
)
print(resp)
----
