@@ -24,9 +24,7 @@ def aliases(self, name=None, params=None):
24
24
"GET" , _make_path ("_cat" , "aliases" , name ), params = params
25
25
)
26
26
27
- @query_params (
28
- "bytes" , "size" , "format" , "h" , "help" , "local" , "master_timeout" , "s" , "v"
29
- )
27
+ @query_params ("bytes" , "format" , "h" , "help" , "local" , "master_timeout" , "s" , "v" )
30
28
def allocation (self , node_id = None , params = None ):
31
29
"""
32
30
Allocation provides a snapshot of how shards have located around the
@@ -52,7 +50,7 @@ def allocation(self, node_id=None, params=None):
52
50
"GET" , _make_path ("_cat" , "allocation" , node_id ), params = params
53
51
)
54
52
55
- @query_params ("size" , " format" , "h" , "help" , "local" , "master_timeout" , "s" , "v" )
53
+ @query_params ("format" , "h" , "help" , "local" , "master_timeout" , "s" , "v" )
56
54
def count (self , index = None , params = None ):
57
55
"""
58
56
Count provides quick access to the document count of the entire cluster,
@@ -111,7 +109,6 @@ def help(self, params=None):
111
109
112
110
@query_params (
113
111
"bytes" ,
114
- "time" ,
115
112
"size" ,
116
113
"format" ,
117
114
"h" ,
@@ -218,16 +215,7 @@ def recovery(self, index=None, params=None):
218
215
)
219
216
220
217
@query_params (
221
- "bytes" ,
222
- "time" ,
223
- "size" ,
224
- "format" ,
225
- "h" ,
226
- "help" ,
227
- "local" ,
228
- "master_timeout" ,
229
- "s" ,
230
- "v" ,
218
+ "bytes" , "size" , "format" , "h" , "help" , "local" , "master_timeout" , "s" , "v"
231
219
)
232
220
def shards (self , index = None , params = None ):
233
221
"""
@@ -442,6 +430,7 @@ def snapshots(self, repository, params=None):
442
430
"h" ,
443
431
"help" ,
444
432
"nodes" ,
433
+ "node_id" ,
445
434
"parent_task_id" ,
446
435
"s" ,
447
436
"v" ,
@@ -458,6 +447,10 @@ def tasks(self, params=None):
458
447
:arg h: Comma-separated list of column names to display
459
448
:arg help: Return help information, default False
460
449
:arg nodes: A comma-separated list of node IDs or names to limit the
450
+ returned information; use `_local` to return information from the
451
+ node you're connecting to, leave empty to get information from all
452
+ nodes (used for older version of Elasticsearch)
453
+ :arg node_id: A comma-separated list of node IDs or names to limit the
461
454
returned information; use `_local` to return information from the
462
455
node you're connecting to, leave empty to get information from all
463
456
nodes
0 commit comments