BasPH commented on a change in pull request #5461: [AIRFLOW-4835] Refactor 
render_template
URL: https://github.com/apache/airflow/pull/5461#discussion_r310343213
 
 

 ##########
 File path: tests/contrib/operators/test_databricks_operator.py
 ##########
 @@ -165,7 +165,7 @@ def test_init_with_templating(self):
         }
         dag = DAG('test', start_date=datetime.now())
         op = DatabricksSubmitRunOperator(dag=dag, task_id=TASK_ID, json=json)
-        op.json = op.render_template('json', op.json, {'ds': DATE})
+        op.json = op.render_template(op.json, {'ds': DATE})
 
 Review comment:
   Yes, no point in calling `render_tempate` anymore directly because it's now 
more of an internal method being called by `render_template_fields`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to