elasticsearch 8.17.0__py3-none-any.whl → 8.17.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- elasticsearch/_async/client/__init__.py +153 -51
- elasticsearch/_async/client/cat.py +64 -195
- elasticsearch/_async/client/cluster.py +19 -19
- elasticsearch/_async/client/connector.py +337 -0
- elasticsearch/_async/client/dangling_indices.py +3 -3
- elasticsearch/_async/client/ilm.py +6 -6
- elasticsearch/_async/client/indices.py +360 -81
- elasticsearch/_async/client/inference.py +94 -1
- elasticsearch/_async/client/ingest.py +175 -2
- elasticsearch/_async/client/logstash.py +9 -6
- elasticsearch/_async/client/migration.py +16 -7
- elasticsearch/_async/client/ml.py +12 -6
- elasticsearch/_async/client/monitoring.py +2 -1
- elasticsearch/_async/client/nodes.py +3 -3
- elasticsearch/_async/client/query_rules.py +33 -12
- elasticsearch/_async/client/rollup.py +88 -13
- elasticsearch/_async/client/search_application.py +130 -1
- elasticsearch/_async/client/searchable_snapshots.py +32 -23
- elasticsearch/_async/client/security.py +676 -55
- elasticsearch/_async/client/shutdown.py +38 -15
- elasticsearch/_async/client/simulate.py +151 -0
- elasticsearch/_async/client/slm.py +138 -19
- elasticsearch/_async/client/snapshot.py +307 -23
- elasticsearch/_async/client/sql.py +66 -46
- elasticsearch/_async/client/synonyms.py +39 -19
- elasticsearch/_async/client/tasks.py +68 -28
- elasticsearch/_async/client/text_structure.py +466 -46
- elasticsearch/_async/client/transform.py +9 -2
- elasticsearch/_async/client/watcher.py +207 -41
- elasticsearch/_async/client/xpack.py +11 -6
- elasticsearch/_sync/client/__init__.py +153 -51
- elasticsearch/_sync/client/cat.py +64 -195
- elasticsearch/_sync/client/cluster.py +19 -19
- elasticsearch/_sync/client/connector.py +337 -0
- elasticsearch/_sync/client/dangling_indices.py +3 -3
- elasticsearch/_sync/client/ilm.py +6 -6
- elasticsearch/_sync/client/indices.py +360 -81
- elasticsearch/_sync/client/inference.py +94 -1
- elasticsearch/_sync/client/ingest.py +175 -2
- elasticsearch/_sync/client/logstash.py +9 -6
- elasticsearch/_sync/client/migration.py +16 -7
- elasticsearch/_sync/client/ml.py +12 -6
- elasticsearch/_sync/client/monitoring.py +2 -1
- elasticsearch/_sync/client/nodes.py +3 -3
- elasticsearch/_sync/client/query_rules.py +33 -12
- elasticsearch/_sync/client/rollup.py +88 -13
- elasticsearch/_sync/client/search_application.py +130 -1
- elasticsearch/_sync/client/searchable_snapshots.py +32 -23
- elasticsearch/_sync/client/security.py +676 -55
- elasticsearch/_sync/client/shutdown.py +38 -15
- elasticsearch/_sync/client/simulate.py +151 -0
- elasticsearch/_sync/client/slm.py +138 -19
- elasticsearch/_sync/client/snapshot.py +307 -23
- elasticsearch/_sync/client/sql.py +66 -46
- elasticsearch/_sync/client/synonyms.py +39 -19
- elasticsearch/_sync/client/tasks.py +68 -28
- elasticsearch/_sync/client/text_structure.py +466 -46
- elasticsearch/_sync/client/transform.py +9 -2
- elasticsearch/_sync/client/watcher.py +207 -41
- elasticsearch/_sync/client/xpack.py +11 -6
- elasticsearch/_version.py +1 -1
- elasticsearch/client.py +2 -0
- {elasticsearch-8.17.0.dist-info → elasticsearch-8.17.1.dist-info}/METADATA +1 -1
- elasticsearch-8.17.1.dist-info/RECORD +119 -0
- elasticsearch-8.17.0.dist-info/RECORD +0 -117
- {elasticsearch-8.17.0.dist-info → elasticsearch-8.17.1.dist-info}/WHEEL +0 -0
- {elasticsearch-8.17.0.dist-info → elasticsearch-8.17.1.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.17.0.dist-info → elasticsearch-8.17.1.dist-info}/licenses/NOTICE +0 -0
|
@@ -308,8 +308,6 @@ class CatClient(NamespacedClient):
|
|
|
308
308
|
h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
309
309
|
help: t.Optional[bool] = None,
|
|
310
310
|
human: t.Optional[bool] = None,
|
|
311
|
-
local: t.Optional[bool] = None,
|
|
312
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
313
311
|
pretty: t.Optional[bool] = None,
|
|
314
312
|
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
315
313
|
v: t.Optional[bool] = None,
|
|
@@ -332,11 +330,6 @@ class CatClient(NamespacedClient):
|
|
|
332
330
|
:param h: List of columns to appear in the response. Supports simple wildcards.
|
|
333
331
|
:param help: When set to `true` will output available columns. This option can't
|
|
334
332
|
be combined with any other query string option.
|
|
335
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
336
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
337
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
338
|
-
node will send requests for further information to each selected node.
|
|
339
|
-
:param master_timeout: Period to wait for a connection to the master node.
|
|
340
333
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
341
334
|
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
342
335
|
a suffix to the column name.
|
|
@@ -362,10 +355,6 @@ class CatClient(NamespacedClient):
|
|
|
362
355
|
__query["help"] = help
|
|
363
356
|
if human is not None:
|
|
364
357
|
__query["human"] = human
|
|
365
|
-
if local is not None:
|
|
366
|
-
__query["local"] = local
|
|
367
|
-
if master_timeout is not None:
|
|
368
|
-
__query["master_timeout"] = master_timeout
|
|
369
358
|
if pretty is not None:
|
|
370
359
|
__query["pretty"] = pretty
|
|
371
360
|
if s is not None:
|
|
@@ -396,8 +385,6 @@ class CatClient(NamespacedClient):
|
|
|
396
385
|
h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
397
386
|
help: t.Optional[bool] = None,
|
|
398
387
|
human: t.Optional[bool] = None,
|
|
399
|
-
local: t.Optional[bool] = None,
|
|
400
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
401
388
|
pretty: t.Optional[bool] = None,
|
|
402
389
|
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
403
390
|
v: t.Optional[bool] = None,
|
|
@@ -418,11 +405,6 @@ class CatClient(NamespacedClient):
|
|
|
418
405
|
:param h: List of columns to appear in the response. Supports simple wildcards.
|
|
419
406
|
:param help: When set to `true` will output available columns. This option can't
|
|
420
407
|
be combined with any other query string option.
|
|
421
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
422
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
423
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
424
|
-
node will send requests for further information to each selected node.
|
|
425
|
-
:param master_timeout: Period to wait for a connection to the master node.
|
|
426
408
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
427
409
|
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
428
410
|
a suffix to the column name.
|
|
@@ -450,10 +432,6 @@ class CatClient(NamespacedClient):
|
|
|
450
432
|
__query["help"] = help
|
|
451
433
|
if human is not None:
|
|
452
434
|
__query["human"] = human
|
|
453
|
-
if local is not None:
|
|
454
|
-
__query["local"] = local
|
|
455
|
-
if master_timeout is not None:
|
|
456
|
-
__query["master_timeout"] = master_timeout
|
|
457
435
|
if pretty is not None:
|
|
458
436
|
__query["pretty"] = pretty
|
|
459
437
|
if s is not None:
|
|
@@ -480,8 +458,6 @@ class CatClient(NamespacedClient):
|
|
|
480
458
|
h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
481
459
|
help: t.Optional[bool] = None,
|
|
482
460
|
human: t.Optional[bool] = None,
|
|
483
|
-
local: t.Optional[bool] = None,
|
|
484
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
485
461
|
pretty: t.Optional[bool] = None,
|
|
486
462
|
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
487
463
|
time: t.Optional[
|
|
@@ -510,11 +486,6 @@ class CatClient(NamespacedClient):
|
|
|
510
486
|
:param h: List of columns to appear in the response. Supports simple wildcards.
|
|
511
487
|
:param help: When set to `true` will output available columns. This option can't
|
|
512
488
|
be combined with any other query string option.
|
|
513
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
514
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
515
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
516
|
-
node will send requests for further information to each selected node.
|
|
517
|
-
:param master_timeout: Period to wait for a connection to the master node.
|
|
518
489
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
519
490
|
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
520
491
|
a suffix to the column name.
|
|
@@ -537,10 +508,6 @@ class CatClient(NamespacedClient):
|
|
|
537
508
|
__query["help"] = help
|
|
538
509
|
if human is not None:
|
|
539
510
|
__query["human"] = human
|
|
540
|
-
if local is not None:
|
|
541
|
-
__query["local"] = local
|
|
542
|
-
if master_timeout is not None:
|
|
543
|
-
__query["master_timeout"] = master_timeout
|
|
544
511
|
if pretty is not None:
|
|
545
512
|
__query["pretty"] = pretty
|
|
546
513
|
if s is not None:
|
|
@@ -562,66 +529,15 @@ class CatClient(NamespacedClient):
|
|
|
562
529
|
)
|
|
563
530
|
|
|
564
531
|
@_rewrite_parameters()
|
|
565
|
-
async def help(
|
|
566
|
-
self,
|
|
567
|
-
*,
|
|
568
|
-
error_trace: t.Optional[bool] = None,
|
|
569
|
-
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
570
|
-
format: t.Optional[str] = None,
|
|
571
|
-
h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
572
|
-
help: t.Optional[bool] = None,
|
|
573
|
-
human: t.Optional[bool] = None,
|
|
574
|
-
local: t.Optional[bool] = None,
|
|
575
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
576
|
-
pretty: t.Optional[bool] = None,
|
|
577
|
-
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
578
|
-
v: t.Optional[bool] = None,
|
|
579
|
-
) -> TextApiResponse:
|
|
532
|
+
async def help(self) -> TextApiResponse:
|
|
580
533
|
"""
|
|
581
534
|
Get CAT help. Returns help for the CAT APIs.
|
|
582
535
|
|
|
583
536
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cat.html>`_
|
|
584
|
-
|
|
585
|
-
:param format: Specifies the format to return the columnar data in, can be set
|
|
586
|
-
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
587
|
-
:param h: List of columns to appear in the response. Supports simple wildcards.
|
|
588
|
-
:param help: When set to `true` will output available columns. This option can't
|
|
589
|
-
be combined with any other query string option.
|
|
590
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
591
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
592
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
593
|
-
node will send requests for further information to each selected node.
|
|
594
|
-
:param master_timeout: Period to wait for a connection to the master node.
|
|
595
|
-
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
596
|
-
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
597
|
-
a suffix to the column name.
|
|
598
|
-
:param v: When set to `true` will enable verbose output.
|
|
599
537
|
"""
|
|
600
538
|
__path_parts: t.Dict[str, str] = {}
|
|
601
539
|
__path = "/_cat"
|
|
602
540
|
__query: t.Dict[str, t.Any] = {}
|
|
603
|
-
if error_trace is not None:
|
|
604
|
-
__query["error_trace"] = error_trace
|
|
605
|
-
if filter_path is not None:
|
|
606
|
-
__query["filter_path"] = filter_path
|
|
607
|
-
if format is not None:
|
|
608
|
-
__query["format"] = format
|
|
609
|
-
if h is not None:
|
|
610
|
-
__query["h"] = h
|
|
611
|
-
if help is not None:
|
|
612
|
-
__query["help"] = help
|
|
613
|
-
if human is not None:
|
|
614
|
-
__query["human"] = human
|
|
615
|
-
if local is not None:
|
|
616
|
-
__query["local"] = local
|
|
617
|
-
if master_timeout is not None:
|
|
618
|
-
__query["master_timeout"] = master_timeout
|
|
619
|
-
if pretty is not None:
|
|
620
|
-
__query["pretty"] = pretty
|
|
621
|
-
if s is not None:
|
|
622
|
-
__query["s"] = s
|
|
623
|
-
if v is not None:
|
|
624
|
-
__query["v"] = v
|
|
625
541
|
__headers = {"accept": "text/plain"}
|
|
626
542
|
return await self.perform_request( # type: ignore[return-value]
|
|
627
543
|
"GET",
|
|
@@ -656,7 +572,6 @@ class CatClient(NamespacedClient):
|
|
|
656
572
|
help: t.Optional[bool] = None,
|
|
657
573
|
human: t.Optional[bool] = None,
|
|
658
574
|
include_unloaded_segments: t.Optional[bool] = None,
|
|
659
|
-
local: t.Optional[bool] = None,
|
|
660
575
|
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
661
576
|
pretty: t.Optional[bool] = None,
|
|
662
577
|
pri: t.Optional[bool] = None,
|
|
@@ -694,10 +609,6 @@ class CatClient(NamespacedClient):
|
|
|
694
609
|
be combined with any other query string option.
|
|
695
610
|
:param include_unloaded_segments: If true, the response includes information
|
|
696
611
|
from segments that are not loaded into memory.
|
|
697
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
698
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
699
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
700
|
-
node will send requests for further information to each selected node.
|
|
701
612
|
:param master_timeout: Period to wait for a connection to the master node.
|
|
702
613
|
:param pri: If true, the response only includes information from primary shards.
|
|
703
614
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
@@ -734,8 +645,6 @@ class CatClient(NamespacedClient):
|
|
|
734
645
|
__query["human"] = human
|
|
735
646
|
if include_unloaded_segments is not None:
|
|
736
647
|
__query["include_unloaded_segments"] = include_unloaded_segments
|
|
737
|
-
if local is not None:
|
|
738
|
-
__query["local"] = local
|
|
739
648
|
if master_timeout is not None:
|
|
740
649
|
__query["master_timeout"] = master_timeout
|
|
741
650
|
if pretty is not None:
|
|
@@ -894,8 +803,6 @@ class CatClient(NamespacedClient):
|
|
|
894
803
|
] = None,
|
|
895
804
|
help: t.Optional[bool] = None,
|
|
896
805
|
human: t.Optional[bool] = None,
|
|
897
|
-
local: t.Optional[bool] = None,
|
|
898
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
899
806
|
pretty: t.Optional[bool] = None,
|
|
900
807
|
s: t.Optional[
|
|
901
808
|
t.Union[
|
|
@@ -945,7 +852,9 @@ class CatClient(NamespacedClient):
|
|
|
945
852
|
],
|
|
946
853
|
]
|
|
947
854
|
] = None,
|
|
948
|
-
time: t.Optional[
|
|
855
|
+
time: t.Optional[
|
|
856
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
857
|
+
] = None,
|
|
949
858
|
v: t.Optional[bool] = None,
|
|
950
859
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
951
860
|
"""
|
|
@@ -966,11 +875,6 @@ class CatClient(NamespacedClient):
|
|
|
966
875
|
:param h: Comma-separated list of column names to display.
|
|
967
876
|
:param help: When set to `true` will output available columns. This option can't
|
|
968
877
|
be combined with any other query string option.
|
|
969
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
970
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
971
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
972
|
-
node will send requests for further information to each selected node.
|
|
973
|
-
:param master_timeout: Period to wait for a connection to the master node.
|
|
974
878
|
:param s: Comma-separated list of column names or column aliases used to sort
|
|
975
879
|
the response.
|
|
976
880
|
:param time: Unit used to display time values.
|
|
@@ -1000,10 +904,6 @@ class CatClient(NamespacedClient):
|
|
|
1000
904
|
__query["help"] = help
|
|
1001
905
|
if human is not None:
|
|
1002
906
|
__query["human"] = human
|
|
1003
|
-
if local is not None:
|
|
1004
|
-
__query["local"] = local
|
|
1005
|
-
if master_timeout is not None:
|
|
1006
|
-
__query["master_timeout"] = master_timeout
|
|
1007
907
|
if pretty is not None:
|
|
1008
908
|
__query["pretty"] = pretty
|
|
1009
909
|
if s is not None:
|
|
@@ -1073,8 +973,6 @@ class CatClient(NamespacedClient):
|
|
|
1073
973
|
] = None,
|
|
1074
974
|
help: t.Optional[bool] = None,
|
|
1075
975
|
human: t.Optional[bool] = None,
|
|
1076
|
-
local: t.Optional[bool] = None,
|
|
1077
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
1078
976
|
pretty: t.Optional[bool] = None,
|
|
1079
977
|
s: t.Optional[
|
|
1080
978
|
t.Union[
|
|
@@ -1145,11 +1043,6 @@ class CatClient(NamespacedClient):
|
|
|
1145
1043
|
:param h: Comma-separated list of column names to display.
|
|
1146
1044
|
:param help: When set to `true` will output available columns. This option can't
|
|
1147
1045
|
be combined with any other query string option.
|
|
1148
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
1149
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
1150
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
1151
|
-
node will send requests for further information to each selected node.
|
|
1152
|
-
:param master_timeout: Period to wait for a connection to the master node.
|
|
1153
1046
|
:param s: Comma-separated list of column names or column aliases used to sort
|
|
1154
1047
|
the response.
|
|
1155
1048
|
:param time: The unit used to display time values.
|
|
@@ -1177,10 +1070,6 @@ class CatClient(NamespacedClient):
|
|
|
1177
1070
|
__query["help"] = help
|
|
1178
1071
|
if human is not None:
|
|
1179
1072
|
__query["human"] = human
|
|
1180
|
-
if local is not None:
|
|
1181
|
-
__query["local"] = local
|
|
1182
|
-
if master_timeout is not None:
|
|
1183
|
-
__query["master_timeout"] = master_timeout
|
|
1184
1073
|
if pretty is not None:
|
|
1185
1074
|
__query["pretty"] = pretty
|
|
1186
1075
|
if s is not None:
|
|
@@ -1349,8 +1238,6 @@ class CatClient(NamespacedClient):
|
|
|
1349
1238
|
] = None,
|
|
1350
1239
|
help: t.Optional[bool] = None,
|
|
1351
1240
|
human: t.Optional[bool] = None,
|
|
1352
|
-
local: t.Optional[bool] = None,
|
|
1353
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
1354
1241
|
pretty: t.Optional[bool] = None,
|
|
1355
1242
|
s: t.Optional[
|
|
1356
1243
|
t.Union[
|
|
@@ -1518,11 +1405,6 @@ class CatClient(NamespacedClient):
|
|
|
1518
1405
|
:param h: Comma-separated list of column names to display.
|
|
1519
1406
|
:param help: When set to `true` will output available columns. This option can't
|
|
1520
1407
|
be combined with any other query string option.
|
|
1521
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
1522
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
1523
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
1524
|
-
node will send requests for further information to each selected node.
|
|
1525
|
-
:param master_timeout: Period to wait for a connection to the master node.
|
|
1526
1408
|
:param s: Comma-separated list of column names or column aliases used to sort
|
|
1527
1409
|
the response.
|
|
1528
1410
|
:param time: The unit used to display time values.
|
|
@@ -1552,10 +1434,6 @@ class CatClient(NamespacedClient):
|
|
|
1552
1434
|
__query["help"] = help
|
|
1553
1435
|
if human is not None:
|
|
1554
1436
|
__query["human"] = human
|
|
1555
|
-
if local is not None:
|
|
1556
|
-
__query["local"] = local
|
|
1557
|
-
if master_timeout is not None:
|
|
1558
|
-
__query["master_timeout"] = master_timeout
|
|
1559
1437
|
if pretty is not None:
|
|
1560
1438
|
__query["pretty"] = pretty
|
|
1561
1439
|
if s is not None:
|
|
@@ -1635,8 +1513,6 @@ class CatClient(NamespacedClient):
|
|
|
1635
1513
|
] = None,
|
|
1636
1514
|
help: t.Optional[bool] = None,
|
|
1637
1515
|
human: t.Optional[bool] = None,
|
|
1638
|
-
local: t.Optional[bool] = None,
|
|
1639
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
1640
1516
|
pretty: t.Optional[bool] = None,
|
|
1641
1517
|
s: t.Optional[
|
|
1642
1518
|
t.Union[
|
|
@@ -1683,6 +1559,9 @@ class CatClient(NamespacedClient):
|
|
|
1683
1559
|
]
|
|
1684
1560
|
] = None,
|
|
1685
1561
|
size: t.Optional[int] = None,
|
|
1562
|
+
time: t.Optional[
|
|
1563
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
1564
|
+
] = None,
|
|
1686
1565
|
v: t.Optional[bool] = None,
|
|
1687
1566
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
1688
1567
|
"""
|
|
@@ -1708,14 +1587,10 @@ class CatClient(NamespacedClient):
|
|
|
1708
1587
|
:param h: A comma-separated list of column names to display.
|
|
1709
1588
|
:param help: When set to `true` will output available columns. This option can't
|
|
1710
1589
|
be combined with any other query string option.
|
|
1711
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
1712
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
1713
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
1714
|
-
node will send requests for further information to each selected node.
|
|
1715
|
-
:param master_timeout: Period to wait for a connection to the master node.
|
|
1716
1590
|
:param s: A comma-separated list of column names or aliases used to sort the
|
|
1717
1591
|
response.
|
|
1718
1592
|
:param size: The maximum number of transforms to display.
|
|
1593
|
+
:param time: Unit used to display time values.
|
|
1719
1594
|
:param v: When set to `true` will enable verbose output.
|
|
1720
1595
|
"""
|
|
1721
1596
|
__path_parts: t.Dict[str, str]
|
|
@@ -1744,16 +1619,14 @@ class CatClient(NamespacedClient):
|
|
|
1744
1619
|
__query["help"] = help
|
|
1745
1620
|
if human is not None:
|
|
1746
1621
|
__query["human"] = human
|
|
1747
|
-
if local is not None:
|
|
1748
|
-
__query["local"] = local
|
|
1749
|
-
if master_timeout is not None:
|
|
1750
|
-
__query["master_timeout"] = master_timeout
|
|
1751
1622
|
if pretty is not None:
|
|
1752
1623
|
__query["pretty"] = pretty
|
|
1753
1624
|
if s is not None:
|
|
1754
1625
|
__query["s"] = s
|
|
1755
1626
|
if size is not None:
|
|
1756
1627
|
__query["size"] = size
|
|
1628
|
+
if time is not None:
|
|
1629
|
+
__query["time"] = time
|
|
1757
1630
|
if v is not None:
|
|
1758
1631
|
__query["v"] = v
|
|
1759
1632
|
__headers = {"accept": "text/plain,application/json"}
|
|
@@ -1855,10 +1728,12 @@ class CatClient(NamespacedClient):
|
|
|
1855
1728
|
help: t.Optional[bool] = None,
|
|
1856
1729
|
human: t.Optional[bool] = None,
|
|
1857
1730
|
include_unloaded_segments: t.Optional[bool] = None,
|
|
1858
|
-
local: t.Optional[bool] = None,
|
|
1859
1731
|
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
1860
1732
|
pretty: t.Optional[bool] = None,
|
|
1861
1733
|
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
1734
|
+
time: t.Optional[
|
|
1735
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
1736
|
+
] = None,
|
|
1862
1737
|
v: t.Optional[bool] = None,
|
|
1863
1738
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
1864
1739
|
"""
|
|
@@ -1879,14 +1754,11 @@ class CatClient(NamespacedClient):
|
|
|
1879
1754
|
be combined with any other query string option.
|
|
1880
1755
|
:param include_unloaded_segments: If true, the response includes information
|
|
1881
1756
|
from segments that are not loaded into memory.
|
|
1882
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
1883
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
1884
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
1885
|
-
node will send requests for further information to each selected node.
|
|
1886
1757
|
:param master_timeout: Period to wait for a connection to the master node.
|
|
1887
1758
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
1888
1759
|
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
1889
1760
|
a suffix to the column name.
|
|
1761
|
+
:param time: Unit used to display time values.
|
|
1890
1762
|
:param v: When set to `true` will enable verbose output.
|
|
1891
1763
|
"""
|
|
1892
1764
|
__path_parts: t.Dict[str, str] = {}
|
|
@@ -1910,14 +1782,14 @@ class CatClient(NamespacedClient):
|
|
|
1910
1782
|
__query["human"] = human
|
|
1911
1783
|
if include_unloaded_segments is not None:
|
|
1912
1784
|
__query["include_unloaded_segments"] = include_unloaded_segments
|
|
1913
|
-
if local is not None:
|
|
1914
|
-
__query["local"] = local
|
|
1915
1785
|
if master_timeout is not None:
|
|
1916
1786
|
__query["master_timeout"] = master_timeout
|
|
1917
1787
|
if pretty is not None:
|
|
1918
1788
|
__query["pretty"] = pretty
|
|
1919
1789
|
if s is not None:
|
|
1920
1790
|
__query["s"] = s
|
|
1791
|
+
if time is not None:
|
|
1792
|
+
__query["time"] = time
|
|
1921
1793
|
if v is not None:
|
|
1922
1794
|
__query["v"] = v
|
|
1923
1795
|
__headers = {"accept": "text/plain,application/json"}
|
|
@@ -1944,6 +1816,9 @@ class CatClient(NamespacedClient):
|
|
|
1944
1816
|
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
1945
1817
|
pretty: t.Optional[bool] = None,
|
|
1946
1818
|
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
1819
|
+
time: t.Optional[
|
|
1820
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
1821
|
+
] = None,
|
|
1947
1822
|
v: t.Optional[bool] = None,
|
|
1948
1823
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
1949
1824
|
"""
|
|
@@ -1967,6 +1842,7 @@ class CatClient(NamespacedClient):
|
|
|
1967
1842
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
1968
1843
|
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
1969
1844
|
a suffix to the column name.
|
|
1845
|
+
:param time: Unit used to display time values.
|
|
1970
1846
|
:param v: When set to `true` will enable verbose output.
|
|
1971
1847
|
"""
|
|
1972
1848
|
__path_parts: t.Dict[str, str] = {}
|
|
@@ -1992,6 +1868,8 @@ class CatClient(NamespacedClient):
|
|
|
1992
1868
|
__query["pretty"] = pretty
|
|
1993
1869
|
if s is not None:
|
|
1994
1870
|
__query["s"] = s
|
|
1871
|
+
if time is not None:
|
|
1872
|
+
__query["time"] = time
|
|
1995
1873
|
if v is not None:
|
|
1996
1874
|
__query["v"] = v
|
|
1997
1875
|
__headers = {"accept": "text/plain,application/json"}
|
|
@@ -2014,6 +1892,7 @@ class CatClient(NamespacedClient):
|
|
|
2014
1892
|
h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2015
1893
|
help: t.Optional[bool] = None,
|
|
2016
1894
|
human: t.Optional[bool] = None,
|
|
1895
|
+
include_bootstrap: t.Optional[bool] = None,
|
|
2017
1896
|
local: t.Optional[bool] = None,
|
|
2018
1897
|
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
2019
1898
|
pretty: t.Optional[bool] = None,
|
|
@@ -2033,6 +1912,7 @@ class CatClient(NamespacedClient):
|
|
|
2033
1912
|
:param h: List of columns to appear in the response. Supports simple wildcards.
|
|
2034
1913
|
:param help: When set to `true` will output available columns. This option can't
|
|
2035
1914
|
be combined with any other query string option.
|
|
1915
|
+
:param include_bootstrap: Include bootstrap plugins in the response
|
|
2036
1916
|
:param local: If `true`, the request computes the list of selected nodes from
|
|
2037
1917
|
the local cluster state. If `false` the list of selected nodes are computed
|
|
2038
1918
|
from the cluster state of the master node. In both cases the coordinating
|
|
@@ -2058,6 +1938,8 @@ class CatClient(NamespacedClient):
|
|
|
2058
1938
|
__query["help"] = help
|
|
2059
1939
|
if human is not None:
|
|
2060
1940
|
__query["human"] = human
|
|
1941
|
+
if include_bootstrap is not None:
|
|
1942
|
+
__query["include_bootstrap"] = include_bootstrap
|
|
2061
1943
|
if local is not None:
|
|
2062
1944
|
__query["local"] = local
|
|
2063
1945
|
if master_timeout is not None:
|
|
@@ -2094,10 +1976,11 @@ class CatClient(NamespacedClient):
|
|
|
2094
1976
|
h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2095
1977
|
help: t.Optional[bool] = None,
|
|
2096
1978
|
human: t.Optional[bool] = None,
|
|
2097
|
-
local: t.Optional[bool] = None,
|
|
2098
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
2099
1979
|
pretty: t.Optional[bool] = None,
|
|
2100
1980
|
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
1981
|
+
time: t.Optional[
|
|
1982
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
1983
|
+
] = None,
|
|
2101
1984
|
v: t.Optional[bool] = None,
|
|
2102
1985
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2103
1986
|
"""
|
|
@@ -2124,14 +2007,10 @@ class CatClient(NamespacedClient):
|
|
|
2124
2007
|
:param h: List of columns to appear in the response. Supports simple wildcards.
|
|
2125
2008
|
:param help: When set to `true` will output available columns. This option can't
|
|
2126
2009
|
be combined with any other query string option.
|
|
2127
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
2128
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
2129
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
2130
|
-
node will send requests for further information to each selected node.
|
|
2131
|
-
:param master_timeout: Period to wait for a connection to the master node.
|
|
2132
2010
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
2133
2011
|
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
2134
2012
|
a suffix to the column name.
|
|
2013
|
+
:param time: Unit used to display time values.
|
|
2135
2014
|
:param v: When set to `true` will enable verbose output.
|
|
2136
2015
|
"""
|
|
2137
2016
|
__path_parts: t.Dict[str, str]
|
|
@@ -2160,14 +2039,12 @@ class CatClient(NamespacedClient):
|
|
|
2160
2039
|
__query["help"] = help
|
|
2161
2040
|
if human is not None:
|
|
2162
2041
|
__query["human"] = human
|
|
2163
|
-
if local is not None:
|
|
2164
|
-
__query["local"] = local
|
|
2165
|
-
if master_timeout is not None:
|
|
2166
|
-
__query["master_timeout"] = master_timeout
|
|
2167
2042
|
if pretty is not None:
|
|
2168
2043
|
__query["pretty"] = pretty
|
|
2169
2044
|
if s is not None:
|
|
2170
2045
|
__query["s"] = s
|
|
2046
|
+
if time is not None:
|
|
2047
|
+
__query["time"] = time
|
|
2171
2048
|
if v is not None:
|
|
2172
2049
|
__query["v"] = v
|
|
2173
2050
|
__headers = {"accept": "text/plain,application/json"}
|
|
@@ -2358,10 +2235,12 @@ class CatClient(NamespacedClient):
|
|
|
2358
2235
|
h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2359
2236
|
help: t.Optional[bool] = None,
|
|
2360
2237
|
human: t.Optional[bool] = None,
|
|
2361
|
-
local: t.Optional[bool] = None,
|
|
2362
2238
|
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
2363
2239
|
pretty: t.Optional[bool] = None,
|
|
2364
2240
|
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2241
|
+
time: t.Optional[
|
|
2242
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
2243
|
+
] = None,
|
|
2365
2244
|
v: t.Optional[bool] = None,
|
|
2366
2245
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2367
2246
|
"""
|
|
@@ -2381,14 +2260,11 @@ class CatClient(NamespacedClient):
|
|
|
2381
2260
|
:param h: List of columns to appear in the response. Supports simple wildcards.
|
|
2382
2261
|
:param help: When set to `true` will output available columns. This option can't
|
|
2383
2262
|
be combined with any other query string option.
|
|
2384
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
2385
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
2386
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
2387
|
-
node will send requests for further information to each selected node.
|
|
2388
2263
|
:param master_timeout: Period to wait for a connection to the master node.
|
|
2389
2264
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
2390
2265
|
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
2391
2266
|
a suffix to the column name.
|
|
2267
|
+
:param time: Unit used to display time values.
|
|
2392
2268
|
:param v: When set to `true` will enable verbose output.
|
|
2393
2269
|
"""
|
|
2394
2270
|
__path_parts: t.Dict[str, str]
|
|
@@ -2413,14 +2289,14 @@ class CatClient(NamespacedClient):
|
|
|
2413
2289
|
__query["help"] = help
|
|
2414
2290
|
if human is not None:
|
|
2415
2291
|
__query["human"] = human
|
|
2416
|
-
if local is not None:
|
|
2417
|
-
__query["local"] = local
|
|
2418
2292
|
if master_timeout is not None:
|
|
2419
2293
|
__query["master_timeout"] = master_timeout
|
|
2420
2294
|
if pretty is not None:
|
|
2421
2295
|
__query["pretty"] = pretty
|
|
2422
2296
|
if s is not None:
|
|
2423
2297
|
__query["s"] = s
|
|
2298
|
+
if time is not None:
|
|
2299
|
+
__query["time"] = time
|
|
2424
2300
|
if v is not None:
|
|
2425
2301
|
__query["v"] = v
|
|
2426
2302
|
__headers = {"accept": "text/plain,application/json"}
|
|
@@ -2445,10 +2321,12 @@ class CatClient(NamespacedClient):
|
|
|
2445
2321
|
help: t.Optional[bool] = None,
|
|
2446
2322
|
human: t.Optional[bool] = None,
|
|
2447
2323
|
ignore_unavailable: t.Optional[bool] = None,
|
|
2448
|
-
local: t.Optional[bool] = None,
|
|
2449
2324
|
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
2450
2325
|
pretty: t.Optional[bool] = None,
|
|
2451
2326
|
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2327
|
+
time: t.Optional[
|
|
2328
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
2329
|
+
] = None,
|
|
2452
2330
|
v: t.Optional[bool] = None,
|
|
2453
2331
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2454
2332
|
"""
|
|
@@ -2470,14 +2348,11 @@ class CatClient(NamespacedClient):
|
|
|
2470
2348
|
be combined with any other query string option.
|
|
2471
2349
|
:param ignore_unavailable: If `true`, the response does not include information
|
|
2472
2350
|
from unavailable snapshots.
|
|
2473
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
2474
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
2475
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
2476
|
-
node will send requests for further information to each selected node.
|
|
2477
2351
|
:param master_timeout: Period to wait for a connection to the master node.
|
|
2478
2352
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
2479
2353
|
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
2480
2354
|
a suffix to the column name.
|
|
2355
|
+
:param time: Unit used to display time values.
|
|
2481
2356
|
:param v: When set to `true` will enable verbose output.
|
|
2482
2357
|
"""
|
|
2483
2358
|
__path_parts: t.Dict[str, str]
|
|
@@ -2502,14 +2377,14 @@ class CatClient(NamespacedClient):
|
|
|
2502
2377
|
__query["human"] = human
|
|
2503
2378
|
if ignore_unavailable is not None:
|
|
2504
2379
|
__query["ignore_unavailable"] = ignore_unavailable
|
|
2505
|
-
if local is not None:
|
|
2506
|
-
__query["local"] = local
|
|
2507
2380
|
if master_timeout is not None:
|
|
2508
2381
|
__query["master_timeout"] = master_timeout
|
|
2509
2382
|
if pretty is not None:
|
|
2510
2383
|
__query["pretty"] = pretty
|
|
2511
2384
|
if s is not None:
|
|
2512
2385
|
__query["s"] = s
|
|
2386
|
+
if time is not None:
|
|
2387
|
+
__query["time"] = time
|
|
2513
2388
|
if v is not None:
|
|
2514
2389
|
__query["v"] = v
|
|
2515
2390
|
__headers = {"accept": "text/plain,application/json"}
|
|
@@ -2535,13 +2410,16 @@ class CatClient(NamespacedClient):
|
|
|
2535
2410
|
h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2536
2411
|
help: t.Optional[bool] = None,
|
|
2537
2412
|
human: t.Optional[bool] = None,
|
|
2538
|
-
|
|
2539
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
2540
|
-
node_id: t.Optional[t.Sequence[str]] = None,
|
|
2413
|
+
nodes: t.Optional[t.Sequence[str]] = None,
|
|
2541
2414
|
parent_task_id: t.Optional[str] = None,
|
|
2542
2415
|
pretty: t.Optional[bool] = None,
|
|
2543
2416
|
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2417
|
+
time: t.Optional[
|
|
2418
|
+
t.Union[str, t.Literal["d", "h", "m", "micros", "ms", "nanos", "s"]]
|
|
2419
|
+
] = None,
|
|
2420
|
+
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
2544
2421
|
v: t.Optional[bool] = None,
|
|
2422
|
+
wait_for_completion: t.Optional[bool] = None,
|
|
2545
2423
|
) -> t.Union[ObjectApiResponse[t.Any], TextApiResponse]:
|
|
2546
2424
|
"""
|
|
2547
2425
|
Returns information about tasks currently executing in the cluster. IMPORTANT:
|
|
@@ -2559,18 +2437,18 @@ class CatClient(NamespacedClient):
|
|
|
2559
2437
|
:param h: List of columns to appear in the response. Supports simple wildcards.
|
|
2560
2438
|
:param help: When set to `true` will output available columns. This option can't
|
|
2561
2439
|
be combined with any other query string option.
|
|
2562
|
-
:param
|
|
2563
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
2564
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
2565
|
-
node will send requests for further information to each selected node.
|
|
2566
|
-
:param master_timeout: Period to wait for a connection to the master node.
|
|
2567
|
-
:param node_id: Unique node identifiers, which are used to limit the response.
|
|
2440
|
+
:param nodes: Unique node identifiers, which are used to limit the response.
|
|
2568
2441
|
:param parent_task_id: The parent task identifier, which is used to limit the
|
|
2569
2442
|
response.
|
|
2570
2443
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
2571
2444
|
defaults to ascending and can be changed by setting `:asc` or `:desc` as
|
|
2572
2445
|
a suffix to the column name.
|
|
2446
|
+
:param time: Unit used to display time values.
|
|
2447
|
+
:param timeout: Period to wait for a response. If no response is received before
|
|
2448
|
+
the timeout expires, the request fails and returns an error.
|
|
2573
2449
|
:param v: When set to `true` will enable verbose output.
|
|
2450
|
+
:param wait_for_completion: If `true`, the request blocks until the task has
|
|
2451
|
+
completed.
|
|
2574
2452
|
"""
|
|
2575
2453
|
__path_parts: t.Dict[str, str] = {}
|
|
2576
2454
|
__path = "/_cat/tasks"
|
|
@@ -2591,20 +2469,22 @@ class CatClient(NamespacedClient):
|
|
|
2591
2469
|
__query["help"] = help
|
|
2592
2470
|
if human is not None:
|
|
2593
2471
|
__query["human"] = human
|
|
2594
|
-
if
|
|
2595
|
-
__query["
|
|
2596
|
-
if master_timeout is not None:
|
|
2597
|
-
__query["master_timeout"] = master_timeout
|
|
2598
|
-
if node_id is not None:
|
|
2599
|
-
__query["node_id"] = node_id
|
|
2472
|
+
if nodes is not None:
|
|
2473
|
+
__query["nodes"] = nodes
|
|
2600
2474
|
if parent_task_id is not None:
|
|
2601
2475
|
__query["parent_task_id"] = parent_task_id
|
|
2602
2476
|
if pretty is not None:
|
|
2603
2477
|
__query["pretty"] = pretty
|
|
2604
2478
|
if s is not None:
|
|
2605
2479
|
__query["s"] = s
|
|
2480
|
+
if time is not None:
|
|
2481
|
+
__query["time"] = time
|
|
2482
|
+
if timeout is not None:
|
|
2483
|
+
__query["timeout"] = timeout
|
|
2606
2484
|
if v is not None:
|
|
2607
2485
|
__query["v"] = v
|
|
2486
|
+
if wait_for_completion is not None:
|
|
2487
|
+
__query["wait_for_completion"] = wait_for_completion
|
|
2608
2488
|
__headers = {"accept": "text/plain,application/json"}
|
|
2609
2489
|
return await self.perform_request( # type: ignore[return-value]
|
|
2610
2490
|
"GET",
|
|
@@ -2883,8 +2763,6 @@ class CatClient(NamespacedClient):
|
|
|
2883
2763
|
] = None,
|
|
2884
2764
|
help: t.Optional[bool] = None,
|
|
2885
2765
|
human: t.Optional[bool] = None,
|
|
2886
|
-
local: t.Optional[bool] = None,
|
|
2887
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
2888
2766
|
pretty: t.Optional[bool] = None,
|
|
2889
2767
|
s: t.Optional[
|
|
2890
2768
|
t.Union[
|
|
@@ -2998,11 +2876,6 @@ class CatClient(NamespacedClient):
|
|
|
2998
2876
|
:param h: Comma-separated list of column names to display.
|
|
2999
2877
|
:param help: When set to `true` will output available columns. This option can't
|
|
3000
2878
|
be combined with any other query string option.
|
|
3001
|
-
:param local: If `true`, the request computes the list of selected nodes from
|
|
3002
|
-
the local cluster state. If `false` the list of selected nodes are computed
|
|
3003
|
-
from the cluster state of the master node. In both cases the coordinating
|
|
3004
|
-
node will send requests for further information to each selected node.
|
|
3005
|
-
:param master_timeout: Period to wait for a connection to the master node.
|
|
3006
2879
|
:param s: Comma-separated list of column names or column aliases used to sort
|
|
3007
2880
|
the response.
|
|
3008
2881
|
:param size: The maximum number of transforms to obtain.
|
|
@@ -3033,10 +2906,6 @@ class CatClient(NamespacedClient):
|
|
|
3033
2906
|
__query["help"] = help
|
|
3034
2907
|
if human is not None:
|
|
3035
2908
|
__query["human"] = human
|
|
3036
|
-
if local is not None:
|
|
3037
|
-
__query["local"] = local
|
|
3038
|
-
if master_timeout is not None:
|
|
3039
|
-
__query["master_timeout"] = master_timeout
|
|
3040
2909
|
if pretty is not None:
|
|
3041
2910
|
__query["pretty"] = pretty
|
|
3042
2911
|
if s is not None:
|