uranusjr commented on PR #38909:
URL: https://github.com/apache/airflow/pull/38909#issuecomment-2048902078

   The new check is not complete since another DAG can have a task with the 
same name, but as an internal interface this is probably good enough. We could 
add `dag_id` as an attribute, but I’d prefer we just work on making 
`dag.get_task()` (or something similar) for a serialised DAG instead so we 
don’t need to pass in the task separately in the first place, but just the DAG 
and the `task_id` to get the task inside the function.


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to