argibbs commented on code in PR #30076:
URL: https://github.com/apache/airflow/pull/30076#discussion_r1134393781
##########
airflow/dag_processing/manager.py:
##########
@@ -366,6 +366,10 @@ class DagFileProcessorManager(LoggingMixin):
:param async_mode: whether to start the manager in async mode
"""
+ DEFAULT_FILE_STAT = DagFileStat(
Review Comment:
Minor tweak: this is a named tuple, thus immutable. So I'm reusing the same
static instance over and over, rather than periodically creating new ones.
--
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]