uranusjr commented on code in PR #41390:
URL: https://github.com/apache/airflow/pull/41390#discussion_r1714758144


##########
airflow/www/views.py:
##########
@@ -844,7 +844,7 @@ def index(self):
 
         with create_session() as session:
             # read orm_dags from the db
-            dags_query = select(DagModel).where(~DagModel.is_subdag, 
DagModel.is_active)
+            dags_query = select(DagModel).where(DagModel.is_active)

Review Comment:
   We could but that would require this PR to not remove the db field (just 
yet), otherwise it would be impossible to tell what DAGs should be removed.



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