vincbeck commented on code in PR #74570:
URL: https://github.com/apache/airflow/pull/74570#discussion_r4246925901
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/import_error.py:
##########
@@ -297,18 +297,24 @@ def get_import_errors(
import_errors_result: Iterable[tuple[ParseImportError, Iterable]] =
groupby(
session.execute(import_errors_select), itemgetter(0)
)
+ errors_with_dag_ids = [
+ (import_error, [dag_id for _, dag_id in file_dag_ids_iter if dag_id is
not None])
+ for import_error, file_dag_ids_iter in import_errors_result
+ ]
+ # One team lookup for the whole page rather than one per import error.
Review Comment:
I find these comments useless, typical AI. It comments something it
changed/removed. Very confusing
--
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]