topherinternational commented on issue #40119: URL: https://github.com/apache/airflow/issues/40119#issuecomment-2282443345
@eladkal @vatsrahul1001 I looked into this for the good-first-issue label but I am not sure how or if this should be "fixed." I don't see a way to re-call apply_defaults from inside `_set_relatives()`/`add_task()`, or to cleanly re-instantiate the task object. There could be a warning/error when a task gets a parent DAG and there are default_args, telling the user that the task won't have the args. In any case I think the OP's confusion is legitimate as it's not obvious these defaults wouldn't be wired up whenever a task gets "adopted" by a parent DAG. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
