Skip to content

Commit

Permalink
Add search applications API to imports and generated docs (#2269)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMock authored and github-actions[bot] committed Aug 22, 2023
1 parent 0d9d5ae commit 2d0accc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/sphinx/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ Rollup Indices
.. autoclass:: RollupClient
:members:

Search Applications
-------------------

.. autoclass:: SearchApplicationClient
:members:

Searchable Snapshots
--------------------

Expand Down
4 changes: 4 additions & 0 deletions elasticsearch/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
from ._sync.client.monitoring import MonitoringClient as MonitoringClient # noqa: F401
from ._sync.client.nodes import NodesClient as NodesClient # noqa: F401
from ._sync.client.rollup import RollupClient as RollupClient # noqa: F401
from ._sync.client.search_application import ( # noqa: F401
SearchApplicationClient as SearchApplicationClient,
)
from ._sync.client.searchable_snapshots import ( # noqa: F401
SearchableSnapshotsClient as SearchableSnapshotsClient,
)
Expand Down Expand Up @@ -94,6 +97,7 @@
"MonitoringClient",
"NodesClient",
"RollupClient",
"SearchApplicationClient",
"SearchableSnapshotsClient",
"SecurityClient",
"ShutdownClient",
Expand Down
4 changes: 2 additions & 2 deletions utils/run-black.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ def is_hot() -> bool:
map(
int,
re.findall(
r"\s\+([0-9]{2})\.[0-9]",
r"_input\:\s([0-9]{2})\.[0-9]",
subprocess.check_output(
"sensors",
"sensors -u",
shell=True,
stderr=subprocess.STDOUT,
).decode("utf-8"),
Expand Down

0 comments on commit 2d0accc

Please sign in to comment.