From d8db6b52e78bc0ed5e9fde297627bcd7df078a42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Fri, 17 Jan 2014 22:40:18 +0100 Subject: [PATCH] get_aliases --- elasticsearch/client/indices.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py index 259d215c..5eb7ec01 100644 --- a/elasticsearch/client/indices.py +++ b/elasticsearch/client/indices.py @@ -327,12 +327,13 @@ class IndicesClient(NamespacedClient): return data @query_params('timeout') - def get_aliases(self, index=None, params=None): + def get_aliases(self, index=None, name=None, params=None): """ Retrieve specified aliases ``_ :arg index: A comma-separated list of index names to filter aliases + :arg name: A comma-separated list of alias names to filter :arg timeout: Explicit operation timeout """ _, data = self.transport.perform_request('GET', _make_path(index, '_aliases'),