Prab-27 commented on code in PR #47275:
URL: https://github.com/apache/airflow/pull/47275#discussion_r2160312991


##########
airflow-core/src/airflow/dag_processing/bundles/manager.py:
##########
@@ -149,9 +151,8 @@ def parse_config(self) -> None:
     @provide_session
     def sync_bundles_to_db(self, *, session: Session = NEW_SESSION) -> None:
         self.log.debug("Syncing DAG bundles to the database")
-        stored = {b.name: b for b in session.query(DagBundleModel).all()}
-        active_bundle_names = set(self._bundle_config.keys())
-        for name in active_bundle_names:
+        stored = {b.name: b for b in 
session.scalars(select(DagBundleModel)).all()}
+        for name in self._bundle_config.keys():

Review Comment:
   It was a mistake. Rebased again and resolved



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