Repository: beam Updated Branches: refs/heads/master b8c568f29 -> 9213f34d3
[BEAM-1989] Fix the syntax warning from import star Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/13177b81 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/13177b81 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/13177b81 Branch: refs/heads/master Commit: 13177b81f8c27e1ace270c5b1a4c2f5e46ba47f7 Parents: b8c568f Author: Sourabh Bajaj <[email protected]> Authored: Tue Apr 25 16:04:12 2017 -0700 Committer: Ahmet Altay <[email protected]> Committed: Tue Apr 25 18:47:27 2017 -0700 ---------------------------------------------------------------------- sdks/python/apache_beam/io/gcp/datastore/v1/datastoreio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/13177b81/sdks/python/apache_beam/io/gcp/datastore/v1/datastoreio.py ---------------------------------------------------------------------- diff --git a/sdks/python/apache_beam/io/gcp/datastore/v1/datastoreio.py b/sdks/python/apache_beam/io/gcp/datastore/v1/datastoreio.py index a0ccbbb..c606133 100644 --- a/sdks/python/apache_beam/io/gcp/datastore/v1/datastoreio.py +++ b/sdks/python/apache_beam/io/gcp/datastore/v1/datastoreio.py @@ -96,7 +96,7 @@ class ReadFromDatastore(PTransform): # 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, ' @@ -382,7 +382,7 @@ class WriteToDatastore(_Mutate): # 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, '
