You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by cr...@apache.org on 2017/10/02 21:16:02 UTC

incubator-airflow git commit: [AIRFLOW-1671] Add @apply_defaults back to gcs download operator

Repository: incubator-airflow
Updated Branches:
  refs/heads/master ebc02fb53 -> 6fb46d156


[AIRFLOW-1671] Add @apply_defaults back to gcs download operator

Closes #2655 from jgao54/bug-fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/6fb46d15
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/6fb46d15
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/6fb46d15

Branch: refs/heads/master
Commit: 6fb46d156b3325d40a7b5b0a5daa13bd114c9fcb
Parents: ebc02fb
Author: Joy Gao <jo...@wepay.com>
Authored: Mon Oct 2 14:15:55 2017 -0700
Committer: Chris Riccomini <cr...@apache.org>
Committed: Mon Oct 2 14:15:55 2017 -0700

----------------------------------------------------------------------
 airflow/contrib/operators/gcs_download_operator.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/6fb46d15/airflow/contrib/operators/gcs_download_operator.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/operators/gcs_download_operator.py b/airflow/contrib/operators/gcs_download_operator.py
index 53516b1..6f47833 100644
--- a/airflow/contrib/operators/gcs_download_operator.py
+++ b/airflow/contrib/operators/gcs_download_operator.py
@@ -47,6 +47,7 @@ class GoogleCloudStorageDownloadOperator(BaseOperator):
     template_fields = ('bucket', 'object', 'filename', 'store_to_xcom_key',)
     ui_color = '#f0eee4'
 
+    @apply_defaults
     def __init__(self,
                  bucket,
                  object,