ephraimbuddy commented on code in PR #31436:
URL: https://github.com/apache/airflow/pull/31436#discussion_r1200202033


##########
docs/apache-airflow/howto/notifications.rst:
##########
@@ -56,10 +56,13 @@ Here's an example of using the above notifier:
 
 .. code-block:: python
 
-    from airflow import DAG
-    from myprovider.notifier import MyNotifier
     from datetime import datetime
 
+    from airflow.models.dag import DAG
+    from airflow.operators.bash_operator import BashOperator

Review Comment:
   ```suggestion
       from airflow.operators.bash import BashOperator
   ```
   bash_operator is deprecated



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