wjddn279 commented on code in PR #59430:
URL: https://github.com/apache/airflow/pull/59430#discussion_r2656770971
##########
airflow-core/src/airflow/dag_processing/processor.py:
##########
@@ -229,8 +242,7 @@ def _parse_file(msg: DagFileParseRequest, log:
FilteringBoundLogger) -> DagFileP
fileloc=msg.file,
serialized_dags=serialized_dags,
import_errors=bag.import_errors,
- # TODO: Make `bag.dag_warnings` not return SQLA model objects
- warnings=[],
+
warnings=stability_check_result.get_warning_dag_format_dict(bag.dag_ids),
Review Comment:
Since we update them separately by DagWarningType, there shouldn't be any
case where one warning overrides another
https://github.com/apache/airflow/blob/main/airflow-core/src/airflow/dag_processing/collection.py#L268
--
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]