[
https://issues.apache.org/jira/browse/BEAM-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15983790#comment-15983790
]
ASF GitHub Bot commented on BEAM-1989:
--------------------------------------
GitHub user sb2nov opened a pull request:
https://github.com/apache/beam/pull/2687
[BEAM-1989] Fix the syntax warning from import star
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
- [ ] Make sure the PR title is formatted like:
`[BEAM-<Jira issue #>] Description of pull request`
- [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
- [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
number, if there is one.
- [ ] If this contribution is large, please file an Apache
[Individual Contributor License
Agreement](https://www.apache.org/licenses/icla.pdf).
---
R: @aaltay PTAL
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sb2nov/beam BEAM-1989-fix-syntax-error
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/2687.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 #2687
----
commit 678c05a7c82b59f1721a0504cc89ecc2946793e1
Author: Sourabh Bajaj <[email protected]>
Date: 2017-04-25T23:04:12Z
[BEAM-1989] Fix the syntax warning from import star
----
> clean SyntaxWarning
> -------------------
>
> Key: BEAM-1989
> URL: https://issues.apache.org/jira/browse/BEAM-1989
> Project: Beam
> Issue Type: Bug
> Components: sdk-py
> Reporter: Ahmet Altay
> Priority: Minor
>
> 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,
> cc: [~sb2nov][~chamikara]
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)