uranusjr opened a new pull request, #47089: URL: https://github.com/apache/airflow/pull/47089
We can save one more round trip to the database by a subquery to the dag table. I also used `has()` and `any()` to replace `select(1)` calls. The effect is exactly the same, but the code is automatically shorter. https://docs.sqlalchemy.org/en/20/orm/queryguide/select.html#exists-forms-has-any -- 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]
