From 225ccead0c86254a083de8d0fbffc47736122ad4 Mon Sep 17 00:00:00 2001 From: Boaz Leskes Date: Tue, 8 Oct 2013 18:15:09 +0200 Subject: [PATCH] The name parameter of indices.get_template is not required. --- elasticsearch/client/indices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/client/indices.py b/elasticsearch/client/indices.py index 905765f9..2bf20236 100644 --- a/elasticsearch/client/indices.py +++ b/elasticsearch/client/indices.py @@ -324,7 +324,7 @@ class IndicesClient(NamespacedClient): return data @query_params() - def get_template(self, name, params=None): + def get_template(self, name=None, params=None): """ Retrieve an index template by its name. ``_