Skip to content

Commit

Permalink
Add Connector API (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Aug 2, 2024
1 parent 0536195 commit ceec61a
Show file tree
Hide file tree
Showing 6 changed files with 2,670 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/sphinx/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ Cluster
.. autoclass:: ClusterClient
:members:

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

.. autoclass:: ConnectorClient
:members:

Enrich Policies
---------------

Expand Down
2 changes: 2 additions & 0 deletions elasticsearch_serverless/_async/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
from .async_search import AsyncSearchClient
from .cat import CatClient
from .cluster import ClusterClient
from .connector import ConnectorClient
from .enrich import EnrichClient
from .eql import EqlClient
from .esql import EsqlClient
Expand Down Expand Up @@ -279,6 +280,7 @@ def __init__(
# namespaced clients for compatibility with API names
self.async_search = AsyncSearchClient(self)
self.cat = CatClient(self)
self.connector = ConnectorClient(self)
self.cluster = ClusterClient(self)
self.indices = IndicesClient(self)
self.inference = InferenceClient(self)
Expand Down
Loading

0 comments on commit ceec61a

Please sign in to comment.