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

[source, python]
----
resp = client.cluster.put_settings(
    persistent={
        "ingest.geoip.downloader.enabled": True,
        "indices.lifecycle.history_index_enabled": True
    },
)
print(resp)
----
