I am running into some error while running the generate dynamic dags part.
[TemplateSyntaxError: expected token ‘:’, got ‘}’]
For some reason, when I am creating the template.py, I am encountering more than 4 places where I had to replace easy_destiny with {{ vendor_name }} jinja template. Not sure where exactly I am going wrong. Would appreciate any help
Hello @Ishani_Ghosh,
I could reproduce the issue, when you replace your Jinja template with {{ dag_name }}
or {{ vendor_name }}
you don’t need to put extra curly brackets (e.g just use def {{ dag_name }}():
instead of def {{ {{ dag_name }} }}():
.
True, easy_destiny appears 6 times, however vendor_name should be placed only 4 times (no need the other 2 times inside train_easy_destiny
). Hope it helps