Skip to content

Commit

Permalink
fix: DatabricksSubmitRunOperator and DatabricksRunNowOperator cannot …
Browse files Browse the repository at this point in the history
…define .json as template_ext (apache#23622) (apache#23641)
  • Loading branch information
jonathansp authored Jun 4, 2022
1 parent 84c9f4b commit acf8951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/providers/databricks/operators/databricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class DatabricksSubmitRunOperator(BaseOperator):

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

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

0 comments on commit acf8951

Please sign in to comment.