Skip to content

Commit

Permalink
Add Connector API (#2531)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Apr 23, 2024
1 parent 9a3277e commit dd6c015
Show file tree
Hide file tree
Showing 7 changed files with 2,159 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/sphinx/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ arguments are required for all calls.
api/cat
api/ccr
api/cluster
api/connector
api/dangling-indices
api/enrich-policies
api/eql
Expand Down
9 changes: 9 additions & 0 deletions docs/sphinx/api/connector.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. _cluster:

Connector
---------
.. py:module:: elasticsearch.client
:noindex:

.. autoclass:: ConnectorClient
:members:
2 changes: 2 additions & 0 deletions elasticsearch/_async/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
from .cat import CatClient
from .ccr import CcrClient
from .cluster import ClusterClient
from .connector import ConnectorClient
from .dangling_indices import DanglingIndicesClient
from .enrich import EnrichClient
from .eql import EqlClient
Expand Down Expand Up @@ -433,6 +434,7 @@ def __init__(
self.autoscaling = AutoscalingClient(self)
self.cat = CatClient(self)
self.cluster = ClusterClient(self)
self.connector = ConnectorClient(self)
self.fleet = FleetClient(self)
self.features = FeaturesClient(self)
self.indices = IndicesClient(self)
Expand Down

0 comments on commit dd6c015

Please sign in to comment.