You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ahmet Altay (JIRA)" <ji...@apache.org> on 2017/04/21 04:00:07 UTC

[jira] [Commented] (BEAM-1989) SyntaxWarning in bigquery.py

    [ https://issues.apache.org/jira/browse/BEAM-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978035#comment-15978035 ] 

Ahmet Altay commented on BEAM-1989:
-----------------------------------

https://github.com/apache/beam/pull/2567 (fixed this for bigquery.py)

I noticed more instance in {{datastore.py}}.

/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/apache_beam/io/gcp/datastore/v1/datastoreio.py:86: SyntaxWarning: import * only allowed at module level
  def __init__(self, project, query, namespace=None, num_splits=0):
/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/apache_beam/io/gcp/datastore/v1/datastoreio.py:380: SyntaxWarning: import * only allowed at module level
  def __init__(self, project):

> SyntaxWarning in bigquery.py
> ----------------------------
>
>                 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)