This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new e311c6bf990 DagBag in file parsing used to collect dags in dag 
processing uses default value for safe_mode, which resolves to value in 
configuration (#52694)
e311c6bf990 is described below

commit e311c6bf990bb9ab91afe1620e62baf19866d493
Author: BBQing <[email protected]>
AuthorDate: Fri Jul 18 20:40:02 2025 +0200

    DagBag in file parsing used to collect dags in dag processing uses default 
value for safe_mode, which resolves to value in configuration (#52694)
---
 airflow-core/src/airflow/dag_processing/processor.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/airflow-core/src/airflow/dag_processing/processor.py 
b/airflow-core/src/airflow/dag_processing/processor.py
index 7103f3bb86c..dd41c6c8057 100644
--- a/airflow-core/src/airflow/dag_processing/processor.py
+++ b/airflow-core/src/airflow/dag_processing/processor.py
@@ -159,7 +159,6 @@ def _parse_file(msg: DagFileParseRequest, log: 
FilteringBoundLogger) -> DagFileP
         dag_folder=msg.file,
         bundle_path=msg.bundle_path,
         include_examples=False,
-        safe_mode=True,
         load_op_links=False,
     )
     if msg.callback_requests:

Reply via email to