Skip to content

Commit 7eb729d

Browse files
committed
Remove RemoteClient in favor of 'cluster.remote_info()' API
1 parent 91f0e7a commit 7eb729d

File tree

9 files changed

+0
-141
lines changed

9 files changed

+0
-141
lines changed

Diff for: docs/sphinx/api.rst

-9
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,6 @@ Nodes
152152
.. autoclass:: NodesClient
153153
:members:
154154

155-
Remote
156-
------
157-
158-
`Remote Cluster Info API <https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html>`_
159-
allows you to retrieve all of the configured remote cluster information.
160-
161-
.. autoclass:: RemoteClient
162-
:members:
163-
164155
Snapshot
165156
--------
166157

Diff for: elasticsearch/_async/client/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
from .indices import IndicesClient
3131
from .ingest import IngestClient
3232
from .nodes import NodesClient
33-
from .remote import RemoteClient
3433
from .snapshot import SnapshotClient
3534
from .tasks import TasksClient
3635

@@ -208,7 +207,6 @@ class as kwargs, or a string in the format of ``host[:port]`` which will be
208207
self.indices = IndicesClient(self)
209208
self.ingest = IngestClient(self)
210209
self.nodes = NodesClient(self)
211-
self.remote = RemoteClient(self)
212210
self.snapshot = SnapshotClient(self)
213211
self.tasks = TasksClient(self)
214212

Diff for: elasticsearch/_async/client/__init__.pyi

-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ from .dangling_indices import DanglingIndicesClient
3030
from .indices import IndicesClient
3131
from .ingest import IngestClient
3232
from .nodes import NodesClient
33-
from .remote import RemoteClient
3433
from .snapshot import SnapshotClient
3534
from .tasks import TasksClient
3635

@@ -66,7 +65,6 @@ class AsyncElasticsearch(object):
6665
indices: IndicesClient
6766
ingest: IngestClient
6867
nodes: NodesClient
69-
remote: RemoteClient
7068
snapshot: SnapshotClient
7169
tasks: TasksClient
7270

Diff for: elasticsearch/_async/client/remote.py

-29
This file was deleted.

Diff for: elasticsearch/_async/client/remote.pyi

-33
This file was deleted.

Diff for: elasticsearch/client/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
from .indices import IndicesClient
3131
from .ingest import IngestClient
3232
from .nodes import NodesClient
33-
from .remote import RemoteClient
3433
from .snapshot import SnapshotClient
3534
from .tasks import TasksClient
3635

@@ -208,7 +207,6 @@ class as kwargs, or a string in the format of ``host[:port]`` which will be
208207
self.indices = IndicesClient(self)
209208
self.ingest = IngestClient(self)
210209
self.nodes = NodesClient(self)
211-
self.remote = RemoteClient(self)
212210
self.snapshot = SnapshotClient(self)
213211
self.tasks = TasksClient(self)
214212

Diff for: elasticsearch/client/__init__.pyi

-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ from .dangling_indices import DanglingIndicesClient
3030
from .indices import IndicesClient
3131
from .ingest import IngestClient
3232
from .nodes import NodesClient
33-
from .remote import RemoteClient
3433
from .snapshot import SnapshotClient
3534
from .tasks import TasksClient
3635

@@ -66,7 +65,6 @@ class Elasticsearch(object):
6665
indices: IndicesClient
6766
ingest: IngestClient
6867
nodes: NodesClient
69-
remote: RemoteClient
7068
snapshot: SnapshotClient
7169
tasks: TasksClient
7270

Diff for: elasticsearch/client/remote.py

-29
This file was deleted.

Diff for: elasticsearch/client/remote.pyi

-33
This file was deleted.

0 commit comments

Comments
 (0)