Docstrings for index arg

This commit is contained in:
Honza Kral
2013-06-08 01:31:00 +02:00
parent 38661ec508
commit 68a404b4e8
+2 -1
View File
@@ -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)