Skip to content

Commit

Permalink
Added template_ext = ('.json') to databricks operators #18925 (#21530)
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsharma2 committed Feb 12, 2022
1 parent 5590e98 commit 0a2d0d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airflow/providers/databricks/operators/databricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ class DatabricksSubmitRunOperator(BaseOperator):

# Used in airflow.models.BaseOperator
template_fields: Sequence[str] = ('json',)
template_ext: Sequence[str] = ('.json',)
# Databricks brand color (blue) under white text
ui_color = '#1CB1C2'
ui_fgcolor = '#fff'
Expand Down Expand Up @@ -479,6 +480,7 @@ class DatabricksRunNowOperator(BaseOperator):

# Used in airflow.models.BaseOperator
template_fields: Sequence[str] = ('json',)
template_ext: Sequence[str] = ('.json',)
# Databricks brand color (blue) under white text
ui_color = '#1CB1C2'
ui_fgcolor = '#fff'
Expand Down

0 comments on commit 0a2d0d1

Please sign in to comment.