jedcunningham commented on PR #25121: URL: https://github.com/apache/airflow/pull/25121#issuecomment-1191712694
> > There are other ways to DRY up a DAG than to have them all come from a single loop man_shrugging. > > Should we maybe then mention THIS instead? Maybe that is a better approach that we warn the users not to do it? I like this idea. We should do it, even if/when we do add a better short circuit for the loop approach. > Question: woudl you also object if just get the "official" approach from #25161 ? Or is it mostly the brittleness ? `get_parsing_context` seems much better and I wouldn't object to documenting that. It's tested and can be a stable interface for DAG authors. (Though I haven't looked closely at that PR and likely won't be able to until later next week) > I will - myself - write a short blog post acompanying the one from @itayB where I add a more complete solution and I also publish it in Airflow Publication. 👍 -- 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]
