Skip to content

Commit a2abf66

Browse files
authored
Fix postgres hook import pipeline tutorial (#21491)
1 parent fd1bb36 commit a2abf66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/apache-airflow/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ Let's break this down into 2 steps: get data & merge data:
413413
414414
import requests
415415
from airflow.decorators import task
416-
from airflow.hooks.postgres import PostgresHook
416+
from airflow.providers.postgres.hooks.postgres import PostgresHook
417417
418418
419419
@task
@@ -478,7 +478,7 @@ Lets look at our DAG:
478478
479479
import requests
480480
from airflow.decorators import dag, task
481-
from airflow.hooks.postgres import PostgresHook
481+
from airflow.providers.postgres.hooks.postgres import PostgresHook
482482
483483
484484
@dag(

0 commit comments

Comments
 (0)