potiuk commented on code in PR #27725:
URL: https://github.com/apache/airflow/pull/27725#discussion_r1025856025
##########
airflow/jobs/scheduler_job.py:
##########
@@ -774,25 +775,46 @@ def _execute(self) -> None:
@provide_session
def _update_dag_run_state_for_paused_dags(self, session: Session =
NEW_SESSION) -> None:
try:
- paused_dag_ids = DagModel.get_all_paused_dag_ids()
Review Comment:
I vote for removal. Our users should not expect, that even public "model"
fields in Dag Model will be backwards compatible (we have API for it).
Expecting that methods will remain back-compatible is even less expected.
And even if someone used it, it was slow, they should stop :)
--
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]