Repository: incubator-airflow
Updated Branches:
  refs/heads/master 4cfebd8ae -> b889522c9


Add 'steps' into template_fields in EmrAddSteps

Rendering templates which are in steps is especially useful if you
want to pass execution time as one of the paramaters of a step in
an EMR cluster. All fields in template_fields will get rendered.


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

Branch: refs/heads/master
Commit: 0e7d8aae9767c3e924a84c3cdbb88d3c459a2a83
Parents: 426b6a6
Author: Martin Zlocha <[email protected]>
Authored: Tue Jul 25 14:06:26 2017 +0100
Committer: Martin Zlocha <[email protected]>
Committed: Tue Jul 25 14:19:46 2017 +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/0e7d8aae/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 84ef2d0..e0d2ef6 100644
--- a/airflow/contrib/operators/emr_add_steps_operator.py
+++ b/airflow/contrib/operators/emr_add_steps_operator.py
@@ -31,7 +31,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'
 

Reply via email to