airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From criccom...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-1507] Template parameters in file_to_gcs operator
Date Mon, 14 Aug 2017 18:28:46 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 0d0cc62f4 -> d295cf1e4


[AIRFLOW-1507] Template parameters in file_to_gcs operator

Closes #2516 from aravinduv/feature


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

Branch: refs/heads/master
Commit: d295cf1e4b7854db45172cb6fae93f3e02ec7147
Parents: 0d0cc62
Author: Aravind Vijendra <aravindv@aravindv-00332.we.pay>
Authored: Mon Aug 14 11:27:27 2017 -0700
Committer: Chris Riccomini <criccomini@apache.org>
Committed: Mon Aug 14 11:28:19 2017 -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/d295cf1e/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 61497a5..b9f68f9 100644
--- a/airflow/contrib/operators/file_to_gcs.py
+++ b/airflow/contrib/operators/file_to_gcs.py
@@ -35,7 +35,8 @@ class FileToGoogleCloudStorageOperator(BaseOperator):
     :param delegate_to: The account to impersonate, if any
     :type delegate_to: string
     """
-
+    template_fields = ('src', 'dst', 'bucket')
+    
     @apply_defaults
     def __init__(self,
                  src,


Mime
View raw message