Hello everyone, I am struggling to find correct syntax that can use the airflow configuration json variable passed on dag trigger and use it inside dbt run --vars
Here is my exact problem
I pass to airflow dag my configuration json:
{“my_date”: “2024-04-01”}
then inside my dag py file, i save it to variable like this
my_date = “{{ dag_run.conf[‘my_date’] }}”
Then I do
dbt run --vars f’{{“my_date”: “{my_date }”}}’ inside kubernetpodoperator of airflow
but it does not like this syntax. can anyone help me ?