add the remote namespace

This commit is contained in:
Honza Král
2017-06-14 19:25:53 +02:00
parent 49af6df631
commit 24169821ac
+11
View File
@@ -0,0 +1,11 @@
from .utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH
class RemoteClient(NamespacedClient):
@query_params()
def info(self, params=None):
"""
`<http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-remote-info.html>`_
"""
return self.transport.perform_request('GET', '/_remote/info',
params=params)