You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/11/03 07:00:36 UTC

[airflow] branch main updated: Fix PostgresHook import in tutorial (#19374)

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

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 338822b  Fix PostgresHook import in tutorial (#19374)
338822b is described below

commit 338822b41ecffa61b2cf47aed3c3845004c95f60
Author: Will Douglas <wi...@gmail.com>
AuthorDate: Wed Nov 3 01:00:12 2021 -0600

    Fix PostgresHook import in tutorial (#19374)
---
 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 ad25e72..d701721 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