You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by fo...@apache.org on 2018/01/28 19:45:41 UTC

incubator-airflow git commit: [AIRFLOW-1453] Add 'steps' into template_fields in EmrAddSteps

Repository: incubator-airflow
Updated Branches:
  refs/heads/master efd8338dc -> 6b2ca2280


[AIRFLOW-1453] Add 'steps' into template_fields in EmrAddSteps

Closes #2981 from Swalloow/emr-add-steps


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

Branch: refs/heads/master
Commit: 6b2ca2280d0f5348542be16bf2b736b8d013318f
Parents: efd8338
Author: Swalloow <sw...@gmail.com>
Authored: Sun Jan 28 20:45:34 2018 +0100
Committer: Fokko Driesprong <fo...@godatadriven.com>
Committed: Sun Jan 28 20:45:34 2018 +0100

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


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/6b2ca228/airflow/contrib/operators/emr_add_steps_operator.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/operators/emr_add_steps_operator.py b/airflow/contrib/operators/emr_add_steps_operator.py
index 227474e..e6abe88 100644
--- a/airflow/contrib/operators/emr_add_steps_operator.py
+++ b/airflow/contrib/operators/emr_add_steps_operator.py
@@ -28,7 +28,7 @@ class EmrAddStepsOperator(BaseOperator):
     :param steps: boto3 style steps to be added to the jobflow
     :type steps: list
     """
-    template_fields = ['job_flow_id']
+    template_fields = ['job_flow_id', 'steps']
     template_ext = ()
     ui_color = '#f9c915'