potiuk commented on code in PR #30495:
URL: https://github.com/apache/airflow/pull/30495#discussion_r1167005341


##########
airflow/config_templates/config.yml:
##########
@@ -2344,6 +2344,16 @@ scheduler:
       version_added: 2.0.0
       type: boolean
       default: "True"
+    parsing_pre_import_modules:
+      description: |
+        The scheduler reads dag files to extract the airflow modules that are 
going to be used,
+        and imports them ahead of time to avoid having to re-do it for each 
parsing process.
+        This flag can be set to False to disable this behavior in case an 
airflow module needs to be freshly
+        imported each time (at the cost of increased DAG parsing time).
+      version_added: 2.6.0

Review Comment:
   Yes it should 



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to