From commits-return-1073-archive-asf-public=cust-asf.ponee.io@ponymail.incubator.apache.org Wed May 23 20:06:30 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CA8A1180645 for ; Wed, 23 May 2018 20:06:29 +0200 (CEST) Received: (qmail 14308 invoked by uid 500); 23 May 2018 18:06:29 -0000 Mailing-List: contact commits-help@ponymail.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ponymail.incubator.apache.org Delivered-To: mailing list commits@ponymail.incubator.apache.org Received: (qmail 14299 invoked by uid 99); 23 May 2018 18:06:28 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2018 18:06:28 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 67099829DB; Wed, 23 May 2018 18:06:28 +0000 (UTC) Date: Wed, 23 May 2018 18:06:28 +0000 To: "commits@ponymail.apache.org" Subject: [incubator-ponymail] branch master updated: Add get method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <152709878838.839.6865979367728301691@gitbox.apache.org> From: sebb@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-ponymail X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 804b1a8091e3df9972b602fe0f17a38991391c47 X-Git-Newrev: 82c78145d0f65cae8089edf54346b8d107944ac9 X-Git-Rev: 82c78145d0f65cae8089edf54346b8d107944ac9 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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 sebb@apache.org.