uranusjr commented on code in PR #42612: URL: https://github.com/apache/airflow/pull/42612#discussion_r1798911391
########## airflow/jobs/scheduler_job_runner.py: ########## @@ -2066,8 +2066,13 @@ def _orphan_unreferenced_assets(self, session: Session = NEW_SESSION) -> None: ) ) - updated_count = sum(self._set_orphaned(asset) for asset in orphaned_asset_query) - Stats.gauge("asset.orphaned", updated_count) + orphaning_identifiers = list(self._get_orphaning_identifier(asset) for asset in orphaned_asset_query) Review Comment: I think I simply forgot to change it’s a thing (it’s easier to change `sum` to `list`…) I’ll use a list comprehension instead. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org