This is an automated email from the ASF dual-hosted git repository. jedcunningham pushed a commit to branch v2-2-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit efc281829c6d9458ae83e026afcc753fe935ba75 Author: KevinYanesG <75472729+kevinyan...@users.noreply.github.com> AuthorDate: Thu Feb 10 15:38:53 2022 +0100 Fix postgres hook import pipeline tutorial (#21491) (cherry picked from commit a2abf663157aea14525e1a55eb9735ba659ae8d6) --- docs/apache-airflow/tutorial.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/apache-airflow/tutorial.rst b/docs/apache-airflow/tutorial.rst index 0034b2c..a8f76bc 100644 --- a/docs/apache-airflow/tutorial.rst +++ b/docs/apache-airflow/tutorial.rst @@ -413,7 +413,7 @@ Let's break this down into 2 steps: get data & merge data: import requests from airflow.decorators import task - from airflow.hooks.postgres import PostgresHook + from airflow.providers.postgres.hooks.postgres import PostgresHook @task @@ -478,7 +478,7 @@ Lets look at our DAG: import requests from airflow.decorators import dag, task - from airflow.hooks.postgres import PostgresHook + from airflow.providers.postgres.hooks.postgres import PostgresHook @dag(