Skip to content

Commit 23a90e0

Browse files
[Backport 8.9] Add search applications API to imports and generated docs (#2277)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
1 parent 155488c commit 23a90e0

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

docs/sphinx/api.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,12 @@ Rollup Indices
150150
.. autoclass:: RollupClient
151151
:members:
152152

153+
Search Applications
154+
-------------------
155+
156+
.. autoclass:: SearchApplicationClient
157+
:members:
158+
153159
Searchable Snapshots
154160
--------------------
155161

elasticsearch/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
from ._sync.client.monitoring import MonitoringClient as MonitoringClient # noqa: F401
4646
from ._sync.client.nodes import NodesClient as NodesClient # noqa: F401
4747
from ._sync.client.rollup import RollupClient as RollupClient # noqa: F401
48+
from ._sync.client.search_application import ( # noqa: F401
49+
SearchApplicationClient as SearchApplicationClient,
50+
)
4851
from ._sync.client.searchable_snapshots import ( # noqa: F401
4952
SearchableSnapshotsClient as SearchableSnapshotsClient,
5053
)
@@ -94,6 +97,7 @@
9497
"MonitoringClient",
9598
"NodesClient",
9699
"RollupClient",
100+
"SearchApplicationClient",
97101
"SearchableSnapshotsClient",
98102
"SecurityClient",
99103
"ShutdownClient",

utils/run-black.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ def is_hot() -> bool:
3030
map(
3131
int,
3232
re.findall(
33-
r"\s\+([0-9]{2})\.[0-9]",
33+
r"_input\:\s([0-9]{2})\.[0-9]",
3434
subprocess.check_output(
35-
"sensors",
35+
"sensors -u",
3636
shell=True,
3737
stderr=subprocess.STDOUT,
3838
).decode("utf-8"),

0 commit comments

Comments
 (0)