// This file is autogenerated, DO NOT EDIT
// snapshot-restore/restore-snapshot.asciidoc:647

[source, python]
----
resp = client.snapshot.restore(
    repository="my_repository",
    snapshot="my_snapshot_2099.05.06",
    indices="my-index,logs-my_app-default",
    index_settings={
        "index.number_of_replicas": 1
    },
)
print(resp)
----
