// This file is autogenerated, DO NOT EDIT
// tab-widgets/troubleshooting/data/restore-from-snapshot.asciidoc:436

[source, python]
----
resp = client.snapshot.restore(
    repository="my_repository",
    snapshot="snapshot-20200617",
    indices="kibana_sample_data_flights,.ds-my-data-stream-2022.06.17-000001",
    include_aliases=True,
)
print(resp)
----
