Repository: incubator-airflow
Updated Branches:
  refs/heads/master de99aa20f -> f1a7c0051


[AIRFLOW-1521] Fix emplate rendering for BigqueryTableDeleteOperator

The list of template_fields contains only 1 entry and was
interpreted by python as a list of character. That was
breaking the render_template function (see AIRFLOW-1521
ticket)

Closes #2534 from 
moe-nadal-ck/AIRFLOW-1521/fix_table_delete_operator_template_fields_list


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

Branch: refs/heads/master
Commit: f1a7c00510836715a75abecc88a2c75b1e8c9af8
Parents: de99aa2
Author: Moe Nadal <[email protected]>
Authored: Fri Aug 18 15:24:54 2017 -0700
Committer: Chris Riccomini <[email protected]>
Committed: Fri Aug 18 15:25:00 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/f1a7c005/airflow/contrib/operators/bigquery_table_delete_operator.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/operators/bigquery_table_delete_operator.py 
b/airflow/contrib/operators/bigquery_table_delete_operator.py
index 1cebace..643f5ac 100644
--- a/airflow/contrib/operators/bigquery_table_delete_operator.py
+++ b/airflow/contrib/operators/bigquery_table_delete_operator.py
@@ -37,7 +37,7 @@ class BigQueryTableDeleteOperator(BaseOperator):
         requested table does not exist.
     :type ignore_if_missing: boolean
     """
-    template_fields = ('deletion_dataset_table')
+    template_fields = ('deletion_dataset_table',)
     ui_color = '#ffd1dc'
 
     @apply_defaults

Reply via email to