Skip to content

Commit 72b099c

Browse files
committed
Add the FeaturesClient for 'features' namespace
1 parent dafb34d commit 72b099c

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

docs/sphinx/api.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,12 @@ Dangling Indices
133133
.. autoclass:: DanglingIndicesClient
134134
:members:
135135

136+
Features
137+
--------
138+
139+
.. autoclass:: FeaturesClient
140+
:members:
141+
136142
Indices
137143
-------
138144

elasticsearch/_async/client/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from .deprecation import DeprecationClient
3232
from .enrich import EnrichClient
3333
from .eql import EqlClient
34+
from .features import FeaturesClient
3435
from .graph import GraphClient
3536
from .ilm import IlmClient
3637
from .indices import IndicesClient
@@ -207,6 +208,7 @@ class as kwargs, or a string in the format of ``host[:port]`` which will be
207208
self.cat = CatClient(self)
208209
self.cluster = ClusterClient(self)
209210
self.dangling_indices = DanglingIndicesClient(self)
211+
self.features = FeaturesClient(self)
210212
self.indices = IndicesClient(self)
211213
self.ingest = IngestClient(self)
212214
self.nodes = NodesClient(self)

elasticsearch/client/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from .deprecation import DeprecationClient
3232
from .enrich import EnrichClient
3333
from .eql import EqlClient
34+
from .features import FeaturesClient
3435
from .graph import GraphClient
3536
from .ilm import IlmClient
3637
from .indices import IndicesClient
@@ -207,6 +208,7 @@ class as kwargs, or a string in the format of ``host[:port]`` which will be
207208
self.cat = CatClient(self)
208209
self.cluster = ClusterClient(self)
209210
self.dangling_indices = DanglingIndicesClient(self)
211+
self.features = FeaturesClient(self)
210212
self.indices = IndicesClient(self)
211213
self.ingest = IngestClient(self)
212214
self.nodes = NodesClient(self)

0 commit comments

Comments
 (0)