Shuhei Fujiwara created AIRFLOW-5025:
----------------------------------------

             Summary: DataflowPythonOperator uses Python2
                 Key: AIRFLOW-5025
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5025
             Project: Apache Airflow
          Issue Type: Improvement
          Components: contrib, gcp
    Affects Versions: 1.10.2
            Reporter: Shuhei Fujiwara


`DataflowPythonOperator` explicitly uses Python2 as below:

[https://github.com/apache/airflow/blob/57924c2a60c4b8a837114d9c8f120f3817f4e97b/airflow/contrib/hooks/gcp_dataflow_hook.py#L394-L395]

though we can use Python3 for Apache Beam and Google Cloud Dataflow.
I think it's better that we can choose Python2 or 3.

I can create pull request if it's needed.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to