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:39:37 UTC
[airflow] branch main 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 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 a2abf66 Fix postgres hook import pipeline tutorial (#21491)
a2abf66 is described below
commit a2abf663157aea14525e1a55eb9735ba659ae8d6
Author: KevinYanesG <75...@users.noreply.github.com>
AuthorDate: Thu Feb 10 15:38:53 2022 +0100
Fix postgres hook import pipeline tutorial (#21491)
---
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 02369de..bd49797 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(