Skip to content

Commit b08c205

Browse files
committed
Update APIs to 8.9-SNAPSHOT
1 parent 2b76268 commit b08c205

File tree

10 files changed

+1278
-2
lines changed

10 files changed

+1278
-2
lines changed

elasticsearch/_async/client/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
from .monitoring import MonitoringClient
6363
from .nodes import NodesClient
6464
from .rollup import RollupClient
65+
from .search_application import SearchApplicationClient
6566
from .searchable_snapshots import SearchableSnapshotsClient
6667
from .security import SecurityClient
6768
from .shutdown import ShutdownClient
@@ -449,6 +450,7 @@ def __init__(
449450
self.ml = MlClient(self)
450451
self.monitoring = MonitoringClient(self)
451452
self.rollup = RollupClient(self)
453+
self.search_application = SearchApplicationClient(self)
452454
self.searchable_snapshots = SearchableSnapshotsClient(self)
453455
self.security = SecurityClient(self)
454456
self.slm = SlmClient(self)

elasticsearch/_async/client/cluster.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ async def get_component_template(
242242
] = None,
243243
flat_settings: t.Optional[bool] = None,
244244
human: t.Optional[bool] = None,
245+
include_defaults: t.Optional[bool] = None,
245246
local: t.Optional[bool] = None,
246247
master_timeout: t.Optional[
247248
t.Union["t.Literal[-1]", "t.Literal[0]", str]
@@ -255,6 +256,8 @@ async def get_component_template(
255256
256257
:param name: The comma separated names of the component templates
257258
:param flat_settings:
259+
:param include_defaults: Return all default configurations for the component
260+
template (default: false)
258261
:param local: Return local information, do not retrieve the state from master
259262
node (default: false)
260263
:param master_timeout: Explicit operation timeout for connection to master node
@@ -272,6 +275,8 @@ async def get_component_template(
272275
__query["flat_settings"] = flat_settings
273276
if human is not None:
274277
__query["human"] = human
278+
if include_defaults is not None:
279+
__query["include_defaults"] = include_defaults
275280
if local is not None:
276281
__query["local"] = local
277282
if master_timeout is not None:

0 commit comments

Comments
 (0)