From 93441c9adb3ca7be86d9dd8943a968ed93cc015f Mon Sep 17 00:00:00 2001 From: "D. Ferruzzi" Date: Wed, 15 Jan 2025 19:43:10 -0800 Subject: [PATCH] Fix an incomplete comment (#45692) --- airflow/dag_processing/collection.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/airflow/dag_processing/collection.py b/airflow/dag_processing/collection.py index 5712958b55b95..57139accd0485 100644 --- a/airflow/dag_processing/collection.py +++ b/airflow/dag_processing/collection.py @@ -425,10 +425,8 @@ def update_dags( dm._dag_display_property_value = dag.dag_display_name dm.description = dag.description - # These "is not None" checks are because with a LazySerializedDag object where the user hasn't - # specified an explicit value, we don't get the default values from the config in the lazy - # serialized ver - # we just + # These "is not None" checks are because a LazySerializedDag object does not + # provide the default value if the user doesn't provide an explicit value. if dag.max_active_tasks is not None: dm.max_active_tasks = dag.max_active_tasks elif dag.max_active_tasks is None and dm.max_active_tasks is None: