GitHub user charlesccychen opened a pull request:

    https://github.com/apache/beam/pull/2567

    Fix GCP import check in bigquery.py

    This change fixes the following warning which occurs when "import 
apache_beam" is run in an interactive session directly from the "sdks/python/" 
directory.
    
    ```
    apache_beam/io/gcp/bigquery.py:326: SyntaxWarning: import * only allowed at 
module level
      def __init__(self, table=None, dataset=None, project=None, query=None,
    apache_beam/io/gcp/bigquery.py:431: SyntaxWarning: import * only allowed at 
module level
      def __init__(self, table, dataset=None, project=None, schema=None,
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/charlesccychen/beam fix-bq-import

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/2567.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2567
    
----
commit db0fe14767465fe3a04857557e96bdca74461d3f
Author: Charles Chen <c...@google.com>
Date:   2017-04-18T04:27:56Z

    Fix GCP import check in bigquery.py

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to