From commits-return-16437-apmail-beam-commits-archive=beam.apache.org@beam.incubator.apache.org Mon Dec 5 19:39:26 2016 Return-Path: X-Original-To: apmail-beam-commits-archive@minotaur.apache.org Delivered-To: apmail-beam-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6701119D62 for ; Mon, 5 Dec 2016 19:39:26 +0000 (UTC) Received: (qmail 41828 invoked by uid 500); 5 Dec 2016 19:39:26 -0000 Delivered-To: apmail-beam-commits-archive@beam.apache.org Received: (qmail 41768 invoked by uid 500); 5 Dec 2016 19:39:26 -0000 Mailing-List: contact commits-help@beam.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.incubator.apache.org Delivered-To: mailing list commits@beam.incubator.apache.org Received: (qmail 41759 invoked by uid 99); 5 Dec 2016 19:39:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2016 19:39:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id F0FDC180AFA for ; Mon, 5 Dec 2016 19:39:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id R_cTjMALvDlb for ; Mon, 5 Dec 2016 19:39:24 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 51BEC5FB36 for ; Mon, 5 Dec 2016 19:39:23 +0000 (UTC) Received: (qmail 41657 invoked by uid 99); 5 Dec 2016 19:39:22 -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; Mon, 05 Dec 2016 19:39:22 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 46166E076F; Mon, 5 Dec 2016 19:39:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: lcwik@apache.org To: commits@beam.incubator.apache.org Date: Mon, 05 Dec 2016 19:39:22 -0000 Message-Id: <1c8a4554c0024031b201fbfaa2992466@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] incubator-beam git commit: Add experimental warning to datastoreio Repository: incubator-beam Updated Branches: refs/heads/python-sdk 0d99856f3 -> f7118c8a5 Add experimental warning to datastoreio Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/f3dcf6c2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/f3dcf6c2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/f3dcf6c2 Branch: refs/heads/python-sdk Commit: f3dcf6c2dd32e17998d9e185a326fb725abccf31 Parents: 0d99856 Author: Vikas Kedigehalli Authored: Mon Dec 5 11:23:53 2016 -0800 Committer: Vikas Kedigehalli Committed: Mon Dec 5 11:28:52 2016 -0800 ---------------------------------------------------------------------- sdks/python/apache_beam/io/datastore/v1/datastoreio.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/f3dcf6c2/sdks/python/apache_beam/io/datastore/v1/datastoreio.py ---------------------------------------------------------------------- diff --git a/sdks/python/apache_beam/io/datastore/v1/datastoreio.py b/sdks/python/apache_beam/io/datastore/v1/datastoreio.py index 20466b9..fc3e813 100644 --- a/sdks/python/apache_beam/io/datastore/v1/datastoreio.py +++ b/sdks/python/apache_beam/io/datastore/v1/datastoreio.py @@ -86,6 +86,7 @@ class ReadFromDatastore(PTransform): namespace: An optional namespace. num_splits: Number of splits for the query. """ + logging.warning('datastoreio read transform is experimental.') super(ReadFromDatastore, self).__init__() if not project: @@ -309,6 +310,7 @@ class _Mutate(PTransform): """ self._project = project self._mutation_fn = mutation_fn + logging.warning('datastoreio write transform is experimental.') def apply(self, pcoll): return (pcoll