From 68a404b4e884a1bfdafdb41e2096c7d461a32d22 Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Sat, 8 Jun 2013 01:31:00 +0200 Subject: [PATCH] Docstrings for index arg --- elasticsearch/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elasticsearch/client.py b/elasticsearch/client.py index b1633058..c2be8d93 100644 --- a/elasticsearch/client.py +++ b/elasticsearch/client.py @@ -94,6 +94,7 @@ class InidicesClient(NamespacedClient): Delete index in Elasticsearch http://www.elasticsearch.org/guide/reference/api/admin-indices-delete-index/ + :arg index: A list of indices to delete, `None` if all indices should be removed. :arg timeout: Explicit operation timeout """ url = '/' if not index else '/' + _normalize_list(index) @@ -105,7 +106,7 @@ class InidicesClient(NamespacedClient): """ http://www.elasticsearch.org/guide/reference/api/admin-indices-indices-exists/ - :arg index: A comma-separated list of indices to check + :arg index: A list of indices to check """ try: self.transport.perform_request('HEAD', '/' + _normalize_list(index), params=params)