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 2016/05/25 04:28:38 UTC

[1/2] incubator-airflow git commit: [AIRFLOW-170] Add missing @apply_defaults

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 <er...@ericstern.com>
Authored: Tue May 24 15:49:28 2016 -0700
Committer: Eric Stern <er...@ericstern.com>
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,


[2/2] incubator-airflow git commit: Merge pull request #1542 from Firehed/apply_defaults

Posted by cr...@apache.org.
Merge pull request #1542 from Firehed/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/ac96fbf8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/ac96fbf8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/ac96fbf8

Branch: refs/heads/master
Commit: ac96fbf851ae85c36a7edbf207778dcc926e71dd
Parents: ee24855 85d23a3
Author: Chris Riccomini <ch...@wepay.com>
Authored: Tue May 24 21:28:31 2016 -0700
Committer: Chris Riccomini <ch...@wepay.com>
Committed: Tue May 24 21:28:31 2016 -0700

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