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

potiuk pushed a commit to branch v2-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit fbad2776c21abcdbd78aa55ea59a24bca9fe5c04
Author: Will Douglas <[email protected]>
AuthorDate: Wed Nov 3 01:00:12 2021 -0600

    Fix PostgresHook import in tutorial (#19374)
    
    (cherry picked from commit 338822b41ecffa61b2cf47aed3c3845004c95f60)
---
 docs/apache-airflow/tutorial.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/apache-airflow/tutorial.rst b/docs/apache-airflow/tutorial.rst
index d40f8a9..7e27d54 100644
--- a/docs/apache-airflow/tutorial.rst
+++ b/docs/apache-airflow/tutorial.rst
@@ -447,7 +447,7 @@ Here we are passing a ``GET`` request to get the data from 
the URL and save it i
 .. code-block:: python
 
   from airflow.decorators import task
-  from airflow.hooks.postgres import PostgresHook
+  from airflow.providers.postgres.hooks.postgres import PostgresHook
 
 
   @task

Reply via email to