This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git


The following commit(s) were added to refs/heads/master by this push:
     new 82c7814  Add get method
82c7814 is described below

commit 82c78145d0f65cae8089edf54346b8d107944ac9
Author: Sebb <s...@apache.org>
AuthorDate: Wed May 23 19:06:27 2018 +0100

    Add get method
---
 tools/elastic.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/elastic.py b/tools/elastic.py
index f743f10..565dfc2 100755
--- a/tools/elastic.py
+++ b/tools/elastic.py
@@ -111,6 +111,9 @@ class Elastic:
             **kwargs
         )
     
+    def get(self, **kwargs):
+        return self.es.get(index=self.dbname, **kwargs)
+
     def scroll(self, **kwargs):
         return self.es.scroll(**kwargs)
     

-- 
To stop receiving notification emails like this one, please contact
s...@apache.org.

Reply via email to