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

jedcunningham 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 93441c9adb3 Fix an incomplete comment (#45692)
93441c9adb3 is described below

commit 93441c9adb3ca7be86d9dd8943a968ed93cc015f
Author: D. Ferruzzi <ferru...@amazon.com>
AuthorDate: Wed Jan 15 19:43:10 2025 -0800

    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 5712958b55b..57139accd04 100644
--- a/airflow/dag_processing/collection.py
+++ b/airflow/dag_processing/collection.py
@@ -425,10 +425,8 @@ class DagModelOperation(NamedTuple):
                 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:

Reply via email to