Skip to content

Instantly share code, notes, and snippets.

@yodlegists
Created June 18, 2016 02:08
Show Gist options
  • Select an option

  • Save yodlegists/92fa55a88afdc4877a92cde3b1dfe1c5 to your computer and use it in GitHub Desktop.

Select an option

Save yodlegists/92fa55a88afdc4877a92cde3b1dfe1c5 to your computer and use it in GitHub Desktop.
Getting snapshot indices
def get_snapshot_indices(client, latest_snapshot):
snap_details = curator.get_snapshot(client, REPOSITORY, latest_snapshot)
return snap_details['snapshots'][0]['indices']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment