Skip to content

Add Connector API #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading