You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jakob Homan (Jira)" <ji...@apache.org> on 2019/09/13 23:12:00 UTC

[jira] [Created] (AIRFLOW-5495) Remove unneeded parens in dataproc.py

Jakob Homan created AIRFLOW-5495:
------------------------------------

             Summary: Remove unneeded parens in dataproc.py
                 Key: AIRFLOW-5495
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5495
             Project: Apache Airflow
          Issue Type: Bug
          Components: operators
    Affects Versions: 1.10.6
            Reporter: Jakob Homan


Note: This ticket's being created to facilitate a new contributor's workshop for Airflow. After the workshop has completed, I'll mark these all available for anyone that might like to take them on.

The parens around {{self.custom_image_project_id}} don't need to be there; we should remove them.

airflow/gcp/operators/dataproc.py:409
{code:java}
elif self.custom_image:
    project_id = self.custom_image_project_id if (self.custom_image_project_id) else self.project_id
    custom_image_url = 'https://www.googleapis.com/compute/beta/projects/' \ {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)