uranusjr commented on code in PR #22928:
URL: https://github.com/apache/airflow/pull/22928#discussion_r848822209
##########
airflow/dag_processing/processor.py:
##########
@@ -528,23 +529,36 @@ def update_import_errors(session: Session, dagbag:
DagBag) -> None:
:param session: session for ORM operations
:param dagbag: DagBag containing DAGs with import errors
"""
+ all_parsed_files = copy.copy(dagbag.file_last_changed)
+ files_without_error = all_parsed_files - dagbag.import_errors.keys()
Review Comment:
```suggestion
files_without_error = dagbag.file_last_changed -
dagbag.import_errors.keys()
```
--
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]