f
This commit is contained in:
7
user1/testpostgre.py
Normal file
7
user1/testpostgre.py
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
from airflow.providers.postgres.operators.postgres import PostgresOperator
|
||||||
|
|
||||||
|
task = PostgresOperator(
|
||||||
|
task_id='test_query',
|
||||||
|
postgres_conn_id='my_postgres',
|
||||||
|
sql='SELECT 1;'
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user