I am passing the following as the json
{“name”: “john”}
when triggering, with this operator:
do_stuff = DatabricksSubmitRunOperator(
task_id=“do_stuff”,
spark_python_task={“python_file”: “…”,
“parameters”: f"{uid}", ‘\’{{ dag_run.conf[“name”] if dag_run else “” }}\‘’},
existing_cluster_id=cluster_id
)
I’m getting a syntax error, but I am thinking it’s related to escaping characters… I have not used templating before.