From 9b18b85db8b04ff56f9ce5b326330b5bd6a96b5b Mon Sep 17 00:00:00 2001 From: Xiuming Chen Date: Mon, 22 Jun 2015 18:09:39 -0700 Subject: [PATCH] A few other cat APIs accept 'bytes'. --- elasticsearch/client/cat.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elasticsearch/client/cat.py b/elasticsearch/client/cat.py index 4cef9415..ceb42777 100644 --- a/elasticsearch/client/cat.py +++ b/elasticsearch/client/cat.py @@ -134,7 +134,7 @@ class CatClient(NamespacedClient): params=params) return data - @query_params('h', 'help', 'local', 'master_timeout', 'v') + @query_params('bytes', 'h', 'help', 'local', 'master_timeout', 'v') def nodes(self, params=None): """ The nodes command shows the cluster topology. @@ -173,7 +173,7 @@ class CatClient(NamespacedClient): 'recovery', index), params=params) return data - @query_params('h', 'help', 'local', 'master_timeout', 'v') + @query_params('bytes', 'h', 'help', 'local', 'master_timeout', 'v') def shards(self, index=None, params=None): """ The shards command is the detailed view of what nodes contain which shards. @@ -193,7 +193,7 @@ class CatClient(NamespacedClient): 'shards', index), params=params) return data - @query_params('h', 'help', 'local', 'master_timeout', 'v') + @query_params('bytes', 'h', 'help', 'local', 'master_timeout', 'v') def segments(self, index=None, params=None): """ The segments command is the detailed view of Lucene segments per index.