You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2017/04/21 03:57:41 UTC

[1/2] beam git commit: Fix GCP import check in bigquery.py

Repository: beam
Updated Branches:
  refs/heads/master bda16078e -> b3827955e


Fix GCP import check in bigquery.py


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/3b6490d2
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/3b6490d2
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/3b6490d2

Branch: refs/heads/master
Commit: 3b6490d2f77c5ed8b7f181876660e6620162cd06
Parents: bda1607
Author: Charles Chen <cc...@google.com>
Authored: Tue Apr 18 12:27:56 2017 +0800
Committer: Ahmet Altay <al...@google.com>
Committed: Thu Apr 20 20:57:31 2017 -0700

----------------------------------------------------------------------
 sdks/python/apache_beam/io/gcp/bigquery.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/3b6490d2/sdks/python/apache_beam/io/gcp/bigquery.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/io/gcp/bigquery.py b/sdks/python/apache_beam/io/gcp/bigquery.py
index 891f62a..0db965f 100644
--- a/sdks/python/apache_beam/io/gcp/bigquery.py
+++ b/sdks/python/apache_beam/io/gcp/bigquery.py
@@ -370,7 +370,7 @@ class BigQuerySource(dataflow_io.NativeSource):
     # Import here to avoid adding the dependency for local running scenarios.
     try:
       # pylint: disable=wrong-import-order, wrong-import-position
-      from apitools.base.py import *
+      from apitools.base import py  # pylint: disable=unused-variable
     except ImportError:
       raise ImportError(
           'Google Cloud IO not available, '
@@ -480,7 +480,7 @@ class BigQuerySink(dataflow_io.NativeSink):
     # Import here to avoid adding the dependency for local running scenarios.
     try:
       # pylint: disable=wrong-import-order, wrong-import-position
-      from apitools.base.py import *
+      from apitools.base import py  # pylint: disable=unused-variable
     except ImportError:
       raise ImportError(
           'Google Cloud IO not available, '


[2/2] beam git commit: This closes #2567

Posted by al...@apache.org.
This closes #2567


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/b3827955
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/b3827955
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/b3827955

Branch: refs/heads/master
Commit: b3827955e3898b5f39d5b45db40c884b92cd3cef
Parents: bda1607 3b6490d
Author: Ahmet Altay <al...@google.com>
Authored: Thu Apr 20 20:57:32 2017 -0700
Committer: Ahmet Altay <al...@google.com>
Committed: Thu Apr 20 20:57:32 2017 -0700

----------------------------------------------------------------------
 sdks/python/apache_beam/io/gcp/bigquery.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------