@@ -24,9 +24,7 @@ def aliases(self, name=None, params=None):
2424            "GET" , _make_path ("_cat" , "aliases" , name ), params = params 
2525        )
2626
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" ) 
3028    def  allocation (self , node_id = None , params = None ):
3129        """ 
3230        Allocation provides a snapshot of how shards have located around the 
@@ -52,7 +50,7 @@ def allocation(self, node_id=None, params=None):
5250            "GET" , _make_path ("_cat" , "allocation" , node_id ), params = params 
5351        )
5452
55-     @query_params ("size"  ,  " format" , "h" , "help" , "local" , "master_timeout" , "s" , "v" ) 
53+     @query_params ("format" , "h" , "help" , "local" , "master_timeout" , "s" , "v" ) 
5654    def  count (self , index = None , params = None ):
5755        """ 
5856        Count provides quick access to the document count of the entire cluster, 
@@ -111,7 +109,6 @@ def help(self, params=None):
111109
112110    @query_params ( 
113111        "bytes" , 
114-         "time" , 
115112        "size" , 
116113        "format" , 
117114        "h" , 
@@ -218,16 +215,7 @@ def recovery(self, index=None, params=None):
218215        )
219216
220217    @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"  
231219    ) 
232220    def  shards (self , index = None , params = None ):
233221        """ 
@@ -442,6 +430,7 @@ def snapshots(self, repository, params=None):
442430        "h" , 
443431        "help" , 
444432        "nodes" , 
433+         "node_id" , 
445434        "parent_task_id" , 
446435        "s" , 
447436        "v" , 
@@ -458,6 +447,10 @@ def tasks(self, params=None):
458447        :arg h: Comma-separated list of column names to display 
459448        :arg help: Return help information, default False 
460449        :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 
461454            returned information; use `_local` to return information from the 
462455            node you're connecting to, leave empty to get information from all 
463456            nodes 
0 commit comments