You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/07/19 16:35:42 UTC

(airflow) branch v3-0-test updated: [v3-0-test] DagBag in file parsing used to collect dags in dag processing uses default value for safe_mode, which resolves to value in configuration (#52694) (#53507)

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

potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-0-test by this push:
     new 6d459b9dfc0 [v3-0-test] DagBag in file parsing used to collect dags in dag processing uses default value for safe_mode, which resolves to value in configuration (#52694) (#53507)
6d459b9dfc0 is described below

commit 6d459b9dfc0cda166bbd661bae5dbbe4d71f2f66
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Sat Jul 19 18:35:35 2025 +0200

    [v3-0-test] DagBag in file parsing used to collect dags in dag processing uses default value for safe_mode, which resolves to value in configuration (#52694) (#53507)
    
    (cherry picked from commit e311c6bf990bb9ab91afe1620e62baf19866d493)
    
    Co-authored-by: BBQing <33...@users.noreply.github.com>
---
 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 36022c61dfd..cce69c70e78 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: