15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
17
18
- from typing import Any , Mapping , Optional , Union , Collection
18
+ from typing import Any , MutableMapping , Optional , Union , Collection
19
19
from .utils import NamespacedClient
20
20
21
21
class CatClient (NamespacedClient ):
@@ -36,8 +36,8 @@ class CatClient(NamespacedClient):
36
36
request_timeout : Optional [Union [int , float ]] = ...,
37
37
ignore : Optional [Union [int , Collection [int ]]] = ...,
38
38
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 ]] = ...,
41
41
) -> Any : ...
42
42
async def allocation (
43
43
self ,
@@ -57,8 +57,8 @@ class CatClient(NamespacedClient):
57
57
request_timeout : Optional [Union [int , float ]] = ...,
58
58
ignore : Optional [Union [int , Collection [int ]]] = ...,
59
59
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 ]] = ...,
62
62
) -> Any : ...
63
63
async def count (
64
64
self ,
@@ -75,8 +75,8 @@ class CatClient(NamespacedClient):
75
75
request_timeout : Optional [Union [int , float ]] = ...,
76
76
ignore : Optional [Union [int , Collection [int ]]] = ...,
77
77
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 ]] = ...,
80
80
) -> Any : ...
81
81
async def health (
82
82
self ,
@@ -94,8 +94,8 @@ class CatClient(NamespacedClient):
94
94
request_timeout : Optional [Union [int , float ]] = ...,
95
95
ignore : Optional [Union [int , Collection [int ]]] = ...,
96
96
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 ]] = ...,
99
99
) -> Any : ...
100
100
async def help (
101
101
self ,
@@ -109,8 +109,8 @@ class CatClient(NamespacedClient):
109
109
request_timeout : Optional [Union [int , float ]] = ...,
110
110
ignore : Optional [Union [int , Collection [int ]]] = ...,
111
111
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 ]] = ...,
114
114
) -> Any : ...
115
115
async def indices (
116
116
self ,
@@ -135,8 +135,8 @@ class CatClient(NamespacedClient):
135
135
request_timeout : Optional [Union [int , float ]] = ...,
136
136
ignore : Optional [Union [int , Collection [int ]]] = ...,
137
137
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 ]] = ...,
140
140
) -> Any : ...
141
141
async def master (
142
142
self ,
@@ -154,8 +154,8 @@ class CatClient(NamespacedClient):
154
154
request_timeout : Optional [Union [int , float ]] = ...,
155
155
ignore : Optional [Union [int , Collection [int ]]] = ...,
156
156
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 ]] = ...,
159
159
) -> Any : ...
160
160
async def nodes (
161
161
self ,
@@ -175,8 +175,8 @@ class CatClient(NamespacedClient):
175
175
request_timeout : Optional [Union [int , float ]] = ...,
176
176
ignore : Optional [Union [int , Collection [int ]]] = ...,
177
177
opaque_id : Optional [str ] = ...,
178
- params : Optional [Mapping [str , Any ]] = ...,
179
- headers : Optional [Mapping [str , str ]] = ...,
178
+ params : Optional [MutableMapping [str , Any ]] = ...,
179
+ headers : Optional [MutableMapping [str , str ]] = ...,
180
180
) -> Any : ...
181
181
async def recovery (
182
182
self ,
@@ -197,8 +197,8 @@ class CatClient(NamespacedClient):
197
197
request_timeout : Optional [Union [int , float ]] = ...,
198
198
ignore : Optional [Union [int , Collection [int ]]] = ...,
199
199
opaque_id : Optional [str ] = ...,
200
- params : Optional [Mapping [str , Any ]] = ...,
201
- headers : Optional [Mapping [str , str ]] = ...,
200
+ params : Optional [MutableMapping [str , Any ]] = ...,
201
+ headers : Optional [MutableMapping [str , str ]] = ...,
202
202
) -> Any : ...
203
203
async def shards (
204
204
self ,
@@ -219,8 +219,8 @@ class CatClient(NamespacedClient):
219
219
request_timeout : Optional [Union [int , float ]] = ...,
220
220
ignore : Optional [Union [int , Collection [int ]]] = ...,
221
221
opaque_id : Optional [str ] = ...,
222
- params : Optional [Mapping [str , Any ]] = ...,
223
- headers : Optional [Mapping [str , str ]] = ...,
222
+ params : Optional [MutableMapping [str , Any ]] = ...,
223
+ headers : Optional [MutableMapping [str , str ]] = ...,
224
224
) -> Any : ...
225
225
async def segments (
226
226
self ,
@@ -238,8 +238,8 @@ class CatClient(NamespacedClient):
238
238
request_timeout : Optional [Union [int , float ]] = ...,
239
239
ignore : Optional [Union [int , Collection [int ]]] = ...,
240
240
opaque_id : Optional [str ] = ...,
241
- params : Optional [Mapping [str , Any ]] = ...,
242
- headers : Optional [Mapping [str , str ]] = ...,
241
+ params : Optional [MutableMapping [str , Any ]] = ...,
242
+ headers : Optional [MutableMapping [str , str ]] = ...,
243
243
) -> Any : ...
244
244
async def pending_tasks (
245
245
self ,
@@ -258,8 +258,8 @@ class CatClient(NamespacedClient):
258
258
request_timeout : Optional [Union [int , float ]] = ...,
259
259
ignore : Optional [Union [int , Collection [int ]]] = ...,
260
260
opaque_id : Optional [str ] = ...,
261
- params : Optional [Mapping [str , Any ]] = ...,
262
- headers : Optional [Mapping [str , str ]] = ...,
261
+ params : Optional [MutableMapping [str , Any ]] = ...,
262
+ headers : Optional [MutableMapping [str , str ]] = ...,
263
263
) -> Any : ...
264
264
async def thread_pool (
265
265
self ,
@@ -279,8 +279,8 @@ class CatClient(NamespacedClient):
279
279
request_timeout : Optional [Union [int , float ]] = ...,
280
280
ignore : Optional [Union [int , Collection [int ]]] = ...,
281
281
opaque_id : Optional [str ] = ...,
282
- params : Optional [Mapping [str , Any ]] = ...,
283
- headers : Optional [Mapping [str , str ]] = ...,
282
+ params : Optional [MutableMapping [str , Any ]] = ...,
283
+ headers : Optional [MutableMapping [str , str ]] = ...,
284
284
) -> Any : ...
285
285
async def fielddata (
286
286
self ,
@@ -298,8 +298,8 @@ class CatClient(NamespacedClient):
298
298
request_timeout : Optional [Union [int , float ]] = ...,
299
299
ignore : Optional [Union [int , Collection [int ]]] = ...,
300
300
opaque_id : Optional [str ] = ...,
301
- params : Optional [Mapping [str , Any ]] = ...,
302
- headers : Optional [Mapping [str , str ]] = ...,
301
+ params : Optional [MutableMapping [str , Any ]] = ...,
302
+ headers : Optional [MutableMapping [str , str ]] = ...,
303
303
) -> Any : ...
304
304
async def plugins (
305
305
self ,
@@ -317,8 +317,8 @@ class CatClient(NamespacedClient):
317
317
request_timeout : Optional [Union [int , float ]] = ...,
318
318
ignore : Optional [Union [int , Collection [int ]]] = ...,
319
319
opaque_id : Optional [str ] = ...,
320
- params : Optional [Mapping [str , Any ]] = ...,
321
- headers : Optional [Mapping [str , str ]] = ...,
320
+ params : Optional [MutableMapping [str , Any ]] = ...,
321
+ headers : Optional [MutableMapping [str , str ]] = ...,
322
322
) -> Any : ...
323
323
async def nodeattrs (
324
324
self ,
@@ -336,8 +336,8 @@ class CatClient(NamespacedClient):
336
336
request_timeout : Optional [Union [int , float ]] = ...,
337
337
ignore : Optional [Union [int , Collection [int ]]] = ...,
338
338
opaque_id : Optional [str ] = ...,
339
- params : Optional [Mapping [str , Any ]] = ...,
340
- headers : Optional [Mapping [str , str ]] = ...,
339
+ params : Optional [MutableMapping [str , Any ]] = ...,
340
+ headers : Optional [MutableMapping [str , str ]] = ...,
341
341
) -> Any : ...
342
342
async def repositories (
343
343
self ,
@@ -355,8 +355,8 @@ class CatClient(NamespacedClient):
355
355
request_timeout : Optional [Union [int , float ]] = ...,
356
356
ignore : Optional [Union [int , Collection [int ]]] = ...,
357
357
opaque_id : Optional [str ] = ...,
358
- params : Optional [Mapping [str , Any ]] = ...,
359
- headers : Optional [Mapping [str , str ]] = ...,
358
+ params : Optional [MutableMapping [str , Any ]] = ...,
359
+ headers : Optional [MutableMapping [str , str ]] = ...,
360
360
) -> Any : ...
361
361
async def snapshots (
362
362
self ,
@@ -376,8 +376,8 @@ class CatClient(NamespacedClient):
376
376
request_timeout : Optional [Union [int , float ]] = ...,
377
377
ignore : Optional [Union [int , Collection [int ]]] = ...,
378
378
opaque_id : Optional [str ] = ...,
379
- params : Optional [Mapping [str , Any ]] = ...,
380
- headers : Optional [Mapping [str , str ]] = ...,
379
+ params : Optional [MutableMapping [str , Any ]] = ...,
380
+ headers : Optional [MutableMapping [str , str ]] = ...,
381
381
) -> Any : ...
382
382
async def tasks (
383
383
self ,
@@ -398,8 +398,8 @@ class CatClient(NamespacedClient):
398
398
request_timeout : Optional [Union [int , float ]] = ...,
399
399
ignore : Optional [Union [int , Collection [int ]]] = ...,
400
400
opaque_id : Optional [str ] = ...,
401
- params : Optional [Mapping [str , Any ]] = ...,
402
- headers : Optional [Mapping [str , str ]] = ...,
401
+ params : Optional [MutableMapping [str , Any ]] = ...,
402
+ headers : Optional [MutableMapping [str , str ]] = ...,
403
403
) -> Any : ...
404
404
async def templates (
405
405
self ,
@@ -418,8 +418,8 @@ class CatClient(NamespacedClient):
418
418
request_timeout : Optional [Union [int , float ]] = ...,
419
419
ignore : Optional [Union [int , Collection [int ]]] = ...,
420
420
opaque_id : Optional [str ] = ...,
421
- params : Optional [Mapping [str , Any ]] = ...,
422
- headers : Optional [Mapping [str , str ]] = ...,
421
+ params : Optional [MutableMapping [str , Any ]] = ...,
422
+ headers : Optional [MutableMapping [str , str ]] = ...,
423
423
) -> Any : ...
424
424
async def ml_data_frame_analytics (
425
425
self ,
@@ -439,8 +439,8 @@ class CatClient(NamespacedClient):
439
439
request_timeout : Optional [Union [int , float ]] = ...,
440
440
ignore : Optional [Union [int , Collection [int ]]] = ...,
441
441
opaque_id : Optional [str ] = ...,
442
- params : Optional [Mapping [str , Any ]] = ...,
443
- headers : Optional [Mapping [str , str ]] = ...,
442
+ params : Optional [MutableMapping [str , Any ]] = ...,
443
+ headers : Optional [MutableMapping [str , str ]] = ...,
444
444
) -> Any : ...
445
445
async def ml_datafeeds (
446
446
self ,
@@ -460,8 +460,8 @@ class CatClient(NamespacedClient):
460
460
request_timeout : Optional [Union [int , float ]] = ...,
461
461
ignore : Optional [Union [int , Collection [int ]]] = ...,
462
462
opaque_id : Optional [str ] = ...,
463
- params : Optional [Mapping [str , Any ]] = ...,
464
- headers : Optional [Mapping [str , str ]] = ...,
463
+ params : Optional [MutableMapping [str , Any ]] = ...,
464
+ headers : Optional [MutableMapping [str , str ]] = ...,
465
465
) -> Any : ...
466
466
async def ml_jobs (
467
467
self ,
@@ -482,8 +482,8 @@ class CatClient(NamespacedClient):
482
482
request_timeout : Optional [Union [int , float ]] = ...,
483
483
ignore : Optional [Union [int , Collection [int ]]] = ...,
484
484
opaque_id : Optional [str ] = ...,
485
- params : Optional [Mapping [str , Any ]] = ...,
486
- headers : Optional [Mapping [str , str ]] = ...,
485
+ params : Optional [MutableMapping [str , Any ]] = ...,
486
+ headers : Optional [MutableMapping [str , str ]] = ...,
487
487
) -> Any : ...
488
488
async def ml_trained_models (
489
489
self ,
@@ -505,8 +505,8 @@ class CatClient(NamespacedClient):
505
505
request_timeout : Optional [Union [int , float ]] = ...,
506
506
ignore : Optional [Union [int , Collection [int ]]] = ...,
507
507
opaque_id : Optional [str ] = ...,
508
- params : Optional [Mapping [str , Any ]] = ...,
509
- headers : Optional [Mapping [str , str ]] = ...,
508
+ params : Optional [MutableMapping [str , Any ]] = ...,
509
+ headers : Optional [MutableMapping [str , str ]] = ...,
510
510
) -> Any : ...
511
511
async def transforms (
512
512
self ,
@@ -527,6 +527,6 @@ class CatClient(NamespacedClient):
527
527
request_timeout : Optional [Union [int , float ]] = ...,
528
528
ignore : Optional [Union [int , Collection [int ]]] = ...,
529
529
opaque_id : Optional [str ] = ...,
530
- params : Optional [Mapping [str , Any ]] = ...,
531
- headers : Optional [Mapping [str , str ]] = ...,
530
+ params : Optional [MutableMapping [str , Any ]] = ...,
531
+ headers : Optional [MutableMapping [str , str ]] = ...,
532
532
) -> Any : ...
0 commit comments