Taragolis commented on PR #38777:
URL: https://github.com/apache/airflow/pull/38777#issuecomment-2042056628

   I guess until Airflow 3 we still need to have SubDag operator into the 
`airflow/example_dags`, it use in multiple places include into the 
documentation part. What we could do it is use some generic functions/fixtures 
which are ignore particular warning during fill DagBag/migration
   
   We need to take into the account that some of the test was created years 
ago, and TBH most of the tests do not require a Dag and especially DagBag for 
the tests, so it could be rewritten to not to use this parts.
   
   And last but not least, many tests use generic parts which are now 
deprecated, e.g. create DagRun without providing run_id. That mean a lot of 
test could be fixed by the same pattern.


-- 
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]

Reply via email to