1515# specific language governing permissions and limitations
1616# under the License.
1717
18- from typing import Any , Mapping , Optional , Union , Collection
18+ from typing import Any , MutableMapping , Optional , Union , Collection
1919from .utils import NamespacedClient
2020
2121class CatClient (NamespacedClient ):
@@ -36,8 +36,8 @@ class CatClient(NamespacedClient):
3636 request_timeout : Optional [Union [int , float ]] = ...,
3737 ignore : Optional [Union [int , Collection [int ]]] = ...,
3838 opaque_id : Optional [str ] = ...,
39- params : Optional [Mapping [str , Any ]] = ...,
40- headers : Optional [Mapping [str , str ]] = ...,
39+ params : Optional [MutableMapping [str , Any ]] = ...,
40+ headers : Optional [MutableMapping [str , str ]] = ...,
4141 ) -> Any : ...
4242 async def allocation (
4343 self ,
@@ -57,8 +57,8 @@ class CatClient(NamespacedClient):
5757 request_timeout : Optional [Union [int , float ]] = ...,
5858 ignore : Optional [Union [int , Collection [int ]]] = ...,
5959 opaque_id : Optional [str ] = ...,
60- params : Optional [Mapping [str , Any ]] = ...,
61- headers : Optional [Mapping [str , str ]] = ...,
60+ params : Optional [MutableMapping [str , Any ]] = ...,
61+ headers : Optional [MutableMapping [str , str ]] = ...,
6262 ) -> Any : ...
6363 async def count (
6464 self ,
@@ -75,8 +75,8 @@ class CatClient(NamespacedClient):
7575 request_timeout : Optional [Union [int , float ]] = ...,
7676 ignore : Optional [Union [int , Collection [int ]]] = ...,
7777 opaque_id : Optional [str ] = ...,
78- params : Optional [Mapping [str , Any ]] = ...,
79- headers : Optional [Mapping [str , str ]] = ...,
78+ params : Optional [MutableMapping [str , Any ]] = ...,
79+ headers : Optional [MutableMapping [str , str ]] = ...,
8080 ) -> Any : ...
8181 async def health (
8282 self ,
@@ -94,8 +94,8 @@ class CatClient(NamespacedClient):
9494 request_timeout : Optional [Union [int , float ]] = ...,
9595 ignore : Optional [Union [int , Collection [int ]]] = ...,
9696 opaque_id : Optional [str ] = ...,
97- params : Optional [Mapping [str , Any ]] = ...,
98- headers : Optional [Mapping [str , str ]] = ...,
97+ params : Optional [MutableMapping [str , Any ]] = ...,
98+ headers : Optional [MutableMapping [str , str ]] = ...,
9999 ) -> Any : ...
100100 async def help (
101101 self ,
@@ -109,8 +109,8 @@ class CatClient(NamespacedClient):
109109 request_timeout : Optional [Union [int , float ]] = ...,
110110 ignore : Optional [Union [int , Collection [int ]]] = ...,
111111 opaque_id : Optional [str ] = ...,
112- params : Optional [Mapping [str , Any ]] = ...,
113- headers : Optional [Mapping [str , str ]] = ...,
112+ params : Optional [MutableMapping [str , Any ]] = ...,
113+ headers : Optional [MutableMapping [str , str ]] = ...,
114114 ) -> Any : ...
115115 async def indices (
116116 self ,
@@ -135,8 +135,8 @@ class CatClient(NamespacedClient):
135135 request_timeout : Optional [Union [int , float ]] = ...,
136136 ignore : Optional [Union [int , Collection [int ]]] = ...,
137137 opaque_id : Optional [str ] = ...,
138- params : Optional [Mapping [str , Any ]] = ...,
139- headers : Optional [Mapping [str , str ]] = ...,
138+ params : Optional [MutableMapping [str , Any ]] = ...,
139+ headers : Optional [MutableMapping [str , str ]] = ...,
140140 ) -> Any : ...
141141 async def master (
142142 self ,
@@ -154,8 +154,8 @@ class CatClient(NamespacedClient):
154154 request_timeout : Optional [Union [int , float ]] = ...,
155155 ignore : Optional [Union [int , Collection [int ]]] = ...,
156156 opaque_id : Optional [str ] = ...,
157- params : Optional [Mapping [str , Any ]] = ...,
158- headers : Optional [Mapping [str , str ]] = ...,
157+ params : Optional [MutableMapping [str , Any ]] = ...,
158+ headers : Optional [MutableMapping [str , str ]] = ...,
159159 ) -> Any : ...
160160 async def nodes (
161161 self ,
@@ -176,8 +176,8 @@ class CatClient(NamespacedClient):
176176 request_timeout : Optional [Union [int , float ]] = ...,
177177 ignore : Optional [Union [int , Collection [int ]]] = ...,
178178 opaque_id : Optional [str ] = ...,
179- params : Optional [Mapping [str , Any ]] = ...,
180- headers : Optional [Mapping [str , str ]] = ...,
179+ params : Optional [MutableMapping [str , Any ]] = ...,
180+ headers : Optional [MutableMapping [str , str ]] = ...,
181181 ) -> Any : ...
182182 async def recovery (
183183 self ,
@@ -198,8 +198,8 @@ class CatClient(NamespacedClient):
198198 request_timeout : Optional [Union [int , float ]] = ...,
199199 ignore : Optional [Union [int , Collection [int ]]] = ...,
200200 opaque_id : Optional [str ] = ...,
201- params : Optional [Mapping [str , Any ]] = ...,
202- headers : Optional [Mapping [str , str ]] = ...,
201+ params : Optional [MutableMapping [str , Any ]] = ...,
202+ headers : Optional [MutableMapping [str , str ]] = ...,
203203 ) -> Any : ...
204204 async def shards (
205205 self ,
@@ -220,8 +220,8 @@ class CatClient(NamespacedClient):
220220 request_timeout : Optional [Union [int , float ]] = ...,
221221 ignore : Optional [Union [int , Collection [int ]]] = ...,
222222 opaque_id : Optional [str ] = ...,
223- params : Optional [Mapping [str , Any ]] = ...,
224- headers : Optional [Mapping [str , str ]] = ...,
223+ params : Optional [MutableMapping [str , Any ]] = ...,
224+ headers : Optional [MutableMapping [str , str ]] = ...,
225225 ) -> Any : ...
226226 async def segments (
227227 self ,
@@ -239,8 +239,8 @@ class CatClient(NamespacedClient):
239239 request_timeout : Optional [Union [int , float ]] = ...,
240240 ignore : Optional [Union [int , Collection [int ]]] = ...,
241241 opaque_id : Optional [str ] = ...,
242- params : Optional [Mapping [str , Any ]] = ...,
243- headers : Optional [Mapping [str , str ]] = ...,
242+ params : Optional [MutableMapping [str , Any ]] = ...,
243+ headers : Optional [MutableMapping [str , str ]] = ...,
244244 ) -> Any : ...
245245 async def pending_tasks (
246246 self ,
@@ -259,8 +259,8 @@ class CatClient(NamespacedClient):
259259 request_timeout : Optional [Union [int , float ]] = ...,
260260 ignore : Optional [Union [int , Collection [int ]]] = ...,
261261 opaque_id : Optional [str ] = ...,
262- params : Optional [Mapping [str , Any ]] = ...,
263- headers : Optional [Mapping [str , str ]] = ...,
262+ params : Optional [MutableMapping [str , Any ]] = ...,
263+ headers : Optional [MutableMapping [str , str ]] = ...,
264264 ) -> Any : ...
265265 async def thread_pool (
266266 self ,
@@ -280,8 +280,8 @@ class CatClient(NamespacedClient):
280280 request_timeout : Optional [Union [int , float ]] = ...,
281281 ignore : Optional [Union [int , Collection [int ]]] = ...,
282282 opaque_id : Optional [str ] = ...,
283- params : Optional [Mapping [str , Any ]] = ...,
284- headers : Optional [Mapping [str , str ]] = ...,
283+ params : Optional [MutableMapping [str , Any ]] = ...,
284+ headers : Optional [MutableMapping [str , str ]] = ...,
285285 ) -> Any : ...
286286 async def fielddata (
287287 self ,
@@ -299,8 +299,8 @@ class CatClient(NamespacedClient):
299299 request_timeout : Optional [Union [int , float ]] = ...,
300300 ignore : Optional [Union [int , Collection [int ]]] = ...,
301301 opaque_id : Optional [str ] = ...,
302- params : Optional [Mapping [str , Any ]] = ...,
303- headers : Optional [Mapping [str , str ]] = ...,
302+ params : Optional [MutableMapping [str , Any ]] = ...,
303+ headers : Optional [MutableMapping [str , str ]] = ...,
304304 ) -> Any : ...
305305 async def plugins (
306306 self ,
@@ -318,8 +318,8 @@ class CatClient(NamespacedClient):
318318 request_timeout : Optional [Union [int , float ]] = ...,
319319 ignore : Optional [Union [int , Collection [int ]]] = ...,
320320 opaque_id : Optional [str ] = ...,
321- params : Optional [Mapping [str , Any ]] = ...,
322- headers : Optional [Mapping [str , str ]] = ...,
321+ params : Optional [MutableMapping [str , Any ]] = ...,
322+ headers : Optional [MutableMapping [str , str ]] = ...,
323323 ) -> Any : ...
324324 async def nodeattrs (
325325 self ,
@@ -337,8 +337,8 @@ class CatClient(NamespacedClient):
337337 request_timeout : Optional [Union [int , float ]] = ...,
338338 ignore : Optional [Union [int , Collection [int ]]] = ...,
339339 opaque_id : Optional [str ] = ...,
340- params : Optional [Mapping [str , Any ]] = ...,
341- headers : Optional [Mapping [str , str ]] = ...,
340+ params : Optional [MutableMapping [str , Any ]] = ...,
341+ headers : Optional [MutableMapping [str , str ]] = ...,
342342 ) -> Any : ...
343343 async def repositories (
344344 self ,
@@ -356,8 +356,8 @@ class CatClient(NamespacedClient):
356356 request_timeout : Optional [Union [int , float ]] = ...,
357357 ignore : Optional [Union [int , Collection [int ]]] = ...,
358358 opaque_id : Optional [str ] = ...,
359- params : Optional [Mapping [str , Any ]] = ...,
360- headers : Optional [Mapping [str , str ]] = ...,
359+ params : Optional [MutableMapping [str , Any ]] = ...,
360+ headers : Optional [MutableMapping [str , str ]] = ...,
361361 ) -> Any : ...
362362 async def snapshots (
363363 self ,
@@ -377,8 +377,8 @@ class CatClient(NamespacedClient):
377377 request_timeout : Optional [Union [int , float ]] = ...,
378378 ignore : Optional [Union [int , Collection [int ]]] = ...,
379379 opaque_id : Optional [str ] = ...,
380- params : Optional [Mapping [str , Any ]] = ...,
381- headers : Optional [Mapping [str , str ]] = ...,
380+ params : Optional [MutableMapping [str , Any ]] = ...,
381+ headers : Optional [MutableMapping [str , str ]] = ...,
382382 ) -> Any : ...
383383 async def tasks (
384384 self ,
@@ -399,8 +399,8 @@ class CatClient(NamespacedClient):
399399 request_timeout : Optional [Union [int , float ]] = ...,
400400 ignore : Optional [Union [int , Collection [int ]]] = ...,
401401 opaque_id : Optional [str ] = ...,
402- params : Optional [Mapping [str , Any ]] = ...,
403- headers : Optional [Mapping [str , str ]] = ...,
402+ params : Optional [MutableMapping [str , Any ]] = ...,
403+ headers : Optional [MutableMapping [str , str ]] = ...,
404404 ) -> Any : ...
405405 async def templates (
406406 self ,
@@ -419,8 +419,8 @@ class CatClient(NamespacedClient):
419419 request_timeout : Optional [Union [int , float ]] = ...,
420420 ignore : Optional [Union [int , Collection [int ]]] = ...,
421421 opaque_id : Optional [str ] = ...,
422- params : Optional [Mapping [str , Any ]] = ...,
423- headers : Optional [Mapping [str , str ]] = ...,
422+ params : Optional [MutableMapping [str , Any ]] = ...,
423+ headers : Optional [MutableMapping [str , str ]] = ...,
424424 ) -> Any : ...
425425 async def ml_data_frame_analytics (
426426 self ,
@@ -440,8 +440,8 @@ class CatClient(NamespacedClient):
440440 request_timeout : Optional [Union [int , float ]] = ...,
441441 ignore : Optional [Union [int , Collection [int ]]] = ...,
442442 opaque_id : Optional [str ] = ...,
443- params : Optional [Mapping [str , Any ]] = ...,
444- headers : Optional [Mapping [str , str ]] = ...,
443+ params : Optional [MutableMapping [str , Any ]] = ...,
444+ headers : Optional [MutableMapping [str , str ]] = ...,
445445 ) -> Any : ...
446446 async def ml_datafeeds (
447447 self ,
@@ -461,8 +461,8 @@ class CatClient(NamespacedClient):
461461 request_timeout : Optional [Union [int , float ]] = ...,
462462 ignore : Optional [Union [int , Collection [int ]]] = ...,
463463 opaque_id : Optional [str ] = ...,
464- params : Optional [Mapping [str , Any ]] = ...,
465- headers : Optional [Mapping [str , str ]] = ...,
464+ params : Optional [MutableMapping [str , Any ]] = ...,
465+ headers : Optional [MutableMapping [str , str ]] = ...,
466466 ) -> Any : ...
467467 async def ml_jobs (
468468 self ,
@@ -483,8 +483,8 @@ class CatClient(NamespacedClient):
483483 request_timeout : Optional [Union [int , float ]] = ...,
484484 ignore : Optional [Union [int , Collection [int ]]] = ...,
485485 opaque_id : Optional [str ] = ...,
486- params : Optional [Mapping [str , Any ]] = ...,
487- headers : Optional [Mapping [str , str ]] = ...,
486+ params : Optional [MutableMapping [str , Any ]] = ...,
487+ headers : Optional [MutableMapping [str , str ]] = ...,
488488 ) -> Any : ...
489489 async def ml_trained_models (
490490 self ,
@@ -506,8 +506,8 @@ class CatClient(NamespacedClient):
506506 request_timeout : Optional [Union [int , float ]] = ...,
507507 ignore : Optional [Union [int , Collection [int ]]] = ...,
508508 opaque_id : Optional [str ] = ...,
509- params : Optional [Mapping [str , Any ]] = ...,
510- headers : Optional [Mapping [str , str ]] = ...,
509+ params : Optional [MutableMapping [str , Any ]] = ...,
510+ headers : Optional [MutableMapping [str , str ]] = ...,
511511 ) -> Any : ...
512512 async def transforms (
513513 self ,
@@ -528,6 +528,6 @@ class CatClient(NamespacedClient):
528528 request_timeout : Optional [Union [int , float ]] = ...,
529529 ignore : Optional [Union [int , Collection [int ]]] = ...,
530530 opaque_id : Optional [str ] = ...,
531- params : Optional [Mapping [str , Any ]] = ...,
532- headers : Optional [Mapping [str , str ]] = ...,
531+ params : Optional [MutableMapping [str , Any ]] = ...,
532+ headers : Optional [MutableMapping [str , str ]] = ...,
533533 ) -> Any : ...
0 commit comments