Open cordon-thiago opened 3 years ago
It appears that this setting isn't included on dag-factory.
@ajbosco is there any reason for this, maybe we need add this param ? I also think that dag params name should be in config too, so user can config a whitelist for dynamic change depend on airflow version.
@brucemen711 That sounds reasonable to me. Want to submit a PR with the change?
Yes, i'd love to. I'll create a PR for this first then do a design for dynamic config.
Hi, first of all, nice job on this project.
I'm trying to configure a DAG pointing to scripts in a path different from the DAG's path so, I'm setting the
template_searchpath
in YAML config to point to this location but I'm receiving the error:jinja2.exceptions.TemplateNotFound: /opt/airflow/scripts/query.sql
so I guess thetemplate_searchpath
is not working. If I place thequery.sql
in the DAG's path, it works.Here is my YAML
Does anybody with the same issue?