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 2022/02/10 14:40:33 UTC
[airflow] branch v2-2-test updated: Fix postgres hook import pipeline tutorial (#21491)
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
The following commit(s) were added to refs/heads/v2-2-test by this push:
new 75979f79 Fix postgres hook import pipeline tutorial (#21491)
75979f79 is described below
commit 75979f79528fce7067c2d7463037bdf58731d579
Author: KevinYanesG <75...@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(