Skip to content

Commit

Permalink
Remove RemoteClient in favor of 'cluster.remote_info()' API
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Oct 28, 2020
1 parent 91f0e7a commit 7eb729d
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 141 deletions.
9 changes: 0 additions & 9 deletions docs/sphinx/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,6 @@ Nodes
.. autoclass:: NodesClient
:members:

Remote
------

`Remote Cluster Info API <https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html>`_
allows you to retrieve all of the configured remote cluster information.

.. autoclass:: RemoteClient
:members:

Snapshot
--------

Expand Down
2 changes: 0 additions & 2 deletions elasticsearch/_async/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from .indices import IndicesClient
from .ingest import IngestClient
from .nodes import NodesClient
from .remote import RemoteClient
from .snapshot import SnapshotClient
from .tasks import TasksClient

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

Expand Down
2 changes: 0 additions & 2 deletions elasticsearch/_async/client/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ from .dangling_indices import DanglingIndicesClient
from .indices import IndicesClient
from .ingest import IngestClient
from .nodes import NodesClient
from .remote import RemoteClient
from .snapshot import SnapshotClient
from .tasks import TasksClient

Expand Down Expand Up @@ -66,7 +65,6 @@ class AsyncElasticsearch(object):
indices: IndicesClient
ingest: IngestClient
nodes: NodesClient
remote: RemoteClient
snapshot: SnapshotClient
tasks: TasksClient

Expand Down
29 changes: 0 additions & 29 deletions elasticsearch/_async/client/remote.py

This file was deleted.

33 changes: 0 additions & 33 deletions elasticsearch/_async/client/remote.pyi

This file was deleted.

2 changes: 0 additions & 2 deletions elasticsearch/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from .indices import IndicesClient
from .ingest import IngestClient
from .nodes import NodesClient
from .remote import RemoteClient
from .snapshot import SnapshotClient
from .tasks import TasksClient

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

Expand Down
2 changes: 0 additions & 2 deletions elasticsearch/client/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ from .dangling_indices import DanglingIndicesClient
from .indices import IndicesClient
from .ingest import IngestClient
from .nodes import NodesClient
from .remote import RemoteClient
from .snapshot import SnapshotClient
from .tasks import TasksClient

Expand Down Expand Up @@ -66,7 +65,6 @@ class Elasticsearch(object):
indices: IndicesClient
ingest: IngestClient
nodes: NodesClient
remote: RemoteClient
snapshot: SnapshotClient
tasks: TasksClient

Expand Down
29 changes: 0 additions & 29 deletions elasticsearch/client/remote.py

This file was deleted.

33 changes: 0 additions & 33 deletions elasticsearch/client/remote.pyi

This file was deleted.

0 comments on commit 7eb729d

Please sign in to comment.