Should airflow dags test
support more use cases, eg, passing a conf
param?
#17522
Unanswered
jeffkpayne
asked this question in
Ideas
Replies: 1 comment
-
Please open PR :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're currently migrating to AF 2.x and found the local
airflow dags test
testing approach to be extremely useful. We also leverage ad-hoc/unscheduled DAGs that rely on run-time configs. However, that command currently doesn't support passing aconf
param. Does it make sense to add support for that and other use cases? Would others find that useful?FWIW, looking at https://github.com/apache/airflow/blob/main/airflow/cli/commands/dag_command.py#L392, the change to support passing a conf looks pretty trivial. I'm more than willing to open a PR, if this seems useful.
Beta Was this translation helpful? Give feedback.
All reactions