Repository: incubator-airflow
Updated Branches:
  refs/heads/master ee248559f -> ac96fbf85


[AIRFLOW-170] Add missing @apply_defaults


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

Branch: refs/heads/master
Commit: 85d23a3c4fec6c66b944b196bf2ca69d6c55461d
Parents: ee24855
Author: Eric Stern <[email protected]>
Authored: Tue May 24 15:49:28 2016 -0700
Committer: Eric Stern <[email protected]>
Committed: Tue May 24 15:51:14 2016 -0700

----------------------------------------------------------------------
 airflow/contrib/operators/file_to_gcs.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/85d23a3c/airflow/contrib/operators/file_to_gcs.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/operators/file_to_gcs.py 
b/airflow/contrib/operators/file_to_gcs.py
index 2024db8..c4ab1ad 100644
--- a/airflow/contrib/operators/file_to_gcs.py
+++ b/airflow/contrib/operators/file_to_gcs.py
@@ -15,7 +15,7 @@
 
 from airflow.contrib.hooks.gcs_hook import GoogleCloudStorageHook
 from airflow.models import BaseOperator
-import os
+from airflow.utils.decorators import apply_defaults
 
 
 class FileToGoogleCloudStorageOperator(BaseOperator):
@@ -23,6 +23,7 @@ class FileToGoogleCloudStorageOperator(BaseOperator):
     Uploads a file to Google Cloud Storage
     """
 
+    @apply_defaults
     def __init__(self,
                  src,
                  dst,

Reply via email to