uranusjr commented on code in PR #62494:
URL: https://github.com/apache/airflow/pull/62494#discussion_r2881619388


##########
airflow-core/docs/howto/deadline-alerts.rst:
##########
@@ -393,6 +473,49 @@ Once registered [see notes below], use your custom 
references in Dag definitions
         # Your tasks here
         ...
 
+Multiple Deadline Alerts
+^^^^^^^^^^^^^^^^^^^^^^^^
+
+A Dag can have multiple Deadline Alerts. Pass a list to the ``deadline`` 
parameter instead of a single
+``DeadlineAlert``. Each alert in the list is evaluated independently, and each 
may use any combination
+of reference points and callback types (sync or async).
+
+.. code-block:: python
+
+    from datetime import timedelta
+    from airflow import DAG

Review Comment:
   This should be imported from `airflow.sdk` in 3.x for consistency.



-- 
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