uranusjr commented on code in PR #58242:
URL: https://github.com/apache/airflow/pull/58242#discussion_r2521910775
##########
airflow-core/src/airflow/dag_processing/dagbag.py:
##########
@@ -706,4 +716,5 @@ def sync_bag_to_db(
None, # file parsing duration is not well defined when parsing
multiple files / multiple DAGs.
dagbag.dag_warnings,
session=session,
+ files_parsed=files_parsed if files_parsed else None,
Review Comment:
Can we not just do `files_parsed=files_parsed`? Or is None special to an
empty set?
--
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]