Files
airflow-dags/user1/testpostgre.py
Выдрин Сергей 5665db0236 f
2025-09-05 02:19:14 +03:00

8 lines
185 B
Python

from airflow.providers.postgres.operators.postgres import PostgresOperator
task = PostgresOperator(
task_id='test_query',
postgres_conn_id='my_postgres',
sql='SELECT 1;'
)