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 <c...@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, '

Reply via email to