From 24169821ac58306df4de0cc6ca1ff4e76e57444c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Wed, 14 Jun 2017 19:25:53 +0200 Subject: [PATCH] add the remote namespace --- elasticsearch/client/remote.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 elasticsearch/client/remote.py diff --git a/elasticsearch/client/remote.py b/elasticsearch/client/remote.py new file mode 100644 index 00000000..9cbb2607 --- /dev/null +++ b/elasticsearch/client/remote.py @@ -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): + """ + ``_ + """ + return self.transport.perform_request('GET', '/_remote/info', + params=params) +