From commits-return-6046-archive-asf-public=cust-asf.ponee.io@kudu.apache.org Fri Jun 15 01:40:58 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 E55A718077A for ; Fri, 15 Jun 2018 01:40:57 +0200 (CEST) Received: (qmail 37055 invoked by uid 500); 14 Jun 2018 23:40:57 -0000 Mailing-List: contact commits-help@kudu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kudu.apache.org Delivered-To: mailing list commits@kudu.apache.org Received: (qmail 37012 invoked by uid 99); 14 Jun 2018 23:40:56 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2018 23:40:56 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 751C4E119E; Thu, 14 Jun 2018 23:40:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mpercy@apache.org To: commits@kudu.apache.org Date: Thu, 14 Jun 2018 23:40:59 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [4/4] kudu git commit: python client: Fix typo in method name python client: Fix typo in method name Rename ScanTokenBuilder.set_timout_millis() to set_timeout_millis(). The original method has not been removed, but noted as deprecated. It should be removed in a future release. Change-Id: I88d640ab4184ba750796b4c929de4b8a762b6570 Reviewed-on: http://gerrit.cloudera.org:8080/10721 Reviewed-by: Adar Dembo Tested-by: Kudu Jenkins Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/b5f3d1a1 Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/b5f3d1a1 Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/b5f3d1a1 Branch: refs/heads/master Commit: b5f3d1a10aa51c623f074eb6852149d304676c7b Parents: c12e635 Author: Mike Percy Authored: Thu Jun 14 15:11:41 2018 -0700 Committer: Mike Percy Committed: Thu Jun 14 23:39:26 2018 +0000 ---------------------------------------------------------------------- python/kudu/client.pyx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/b5f3d1a1/python/kudu/client.pyx ---------------------------------------------------------------------- diff --git a/python/kudu/client.pyx b/python/kudu/client.pyx index 5997bee..afa7e8d 100644 --- a/python/kudu/client.pyx +++ b/python/kudu/client.pyx @@ -2162,9 +2162,9 @@ cdef class ScanTokenBuilder: return self - def set_timout_millis(self, millis): + def set_timeout_millis(self, millis): """ - Sets the timeout in milliseconds. + Sets the scan request timeout in milliseconds. Returns a reference to itself to facilitate chaining. Parameters @@ -2179,6 +2179,15 @@ cdef class ScanTokenBuilder: check_status(self._builder.SetTimeoutMillis(millis)) return self + def set_timout_millis(self, millis): + """ + See set_timeout_millis(). + + This method is deprecated due to having a typo in the method name and + will be removed in a future release. + """ + return self.set_timeout_millis(millis) + def set_fault_tolerant(self): """ Makes the underlying KuduScanner fault tolerant.