arnoldmr01 commented on code in PR #62259:
URL: https://github.com/apache/airflow/pull/62259#discussion_r3128158175


##########
providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py:
##########
@@ -162,6 +163,11 @@ class TriggerDagRunOperator(BaseOperator):
         "wait_for_completion",
         "skip_when_already_exists",
     )
+
+    attributes_not_supported_in_airflow_2 = {
+        "run_after": NOTSET,
+        "note": None,
+    }

Review Comment:
   Yes, I originally wanted to distinguish whether users explicitly passed 
run_after or not. But for the use case rn, it seems that we don't really need 
to distinguish NOTSET from None. If no precise datetime is provided for 
run_after, we either fall back to logical_date or pass None in the following 
flow.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to