Same arg in default args for different operators #16045
Unanswered
JavierLopezT
asked this question in
Ideas
Replies: 1 comment 2 replies
-
That's an interesting feature I think. But I think it's a bit unreadable this way as there is slightly illogical sequence of grouping the parameters. It would have been much better if we had a new argument like:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes, different operators share the same argument. For instance, SnowflakeOperator and MySqlOperator have both the argument
database
. It would be nice to be able to assign a different value for the arg indefault_args
depending on the operator. So thedefault_args
dict would be something like this:That way, if you have a few of both operators, you don't have to type the database argument for all the operators of one kind. WDYT? Would this feature makes sense?
Beta Was this translation helpful? Give feedback.
All reactions