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

kaxilnaik pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-0-test by this push:
     new f3c45207e76 [v3-0-test] Fix wrong import for PythonOperator in 
tutorial dag (#50962) (#50967)
f3c45207e76 is described below

commit f3c45207e762e123db04478e8260347710db76a5
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri May 23 01:18:19 2025 +0530

    [v3-0-test] Fix wrong import for PythonOperator in tutorial dag (#50962) 
(#50967)
    
    (cherry picked from commit dbe707c2a6413acb6a4db1b46c50491d1b3fb63d)
    
    Co-authored-by: Amogh Desai <[email protected]>
---
 airflow-core/docs/tutorial/taskflow.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/airflow-core/docs/tutorial/taskflow.rst 
b/airflow-core/docs/tutorial/taskflow.rst
index b5804dea94c..fcb32fc09e0 100644
--- a/airflow-core/docs/tutorial/taskflow.rst
+++ b/airflow-core/docs/tutorial/taskflow.rst
@@ -135,7 +135,8 @@ Here's what the same DAG might have looked like using the 
traditional approach:
 
    import json
    import pendulum
-   from airflow.sdk import DAG, PythonOperator
+   from airflow.sdk import DAG
+   from airflow.providers.standard.operators.python import PythonOperator
 
 
    def extract():

Reply via email to