From 44276247660ad1ab44e0ee3bcec866fa62cf7eaf Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Fri, 12 Jul 2013 17:20:46 +0200 Subject: [PATCH] info docstring --- elasticsearch/client/__init__.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/elasticsearch/client/__init__.py b/elasticsearch/client/__init__.py index ab38b8dc..a15d6b9e 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -58,13 +58,8 @@ class Elasticsearch(object): @query_params() def info(self, params=None): - """ - Want to learn from the creators and advance your data-driven superpowers. - http://elasticsearch.org/guide/ - - - """ - status, data = self.transport.perform_request('GET', '/', params=params) + """ Get the basic info from the current cluster. """ + status, data = self.transport.perform_request('GET', _make_path(), params=params) return data @query_params('consistency', 'id', 'parent', 'percolate', 'refresh', 'replication', 'routing', 'timeout', 'timestamp', 'ttl', 'version', 'version_type')