This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 0c94eff950 add template field renderer to livy operator (#27321)
0c94eff950 is described below
commit 0c94eff95071c126f97e5f2a438a754ed29549d0
Author: Dov Benyomin Sohacheski <[email protected]>
AuthorDate: Mon Oct 31 07:39:01 2022 +0200
add template field renderer to livy operator (#27321)
---
airflow/providers/apache/livy/operators/livy.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/airflow/providers/apache/livy/operators/livy.py
b/airflow/providers/apache/livy/operators/livy.py
index 763773ef04..de5b0894d4 100644
--- a/airflow/providers/apache/livy/operators/livy.py
+++ b/airflow/providers/apache/livy/operators/livy.py
@@ -60,6 +60,7 @@ class LivyOperator(BaseOperator):
"""
template_fields: Sequence[str] = ("spark_params",)
+ template_fields_renderers = {"spark_params": "json"}
def __init__(
self,