Files
airflow-dags/.history/user1/testpostgre_20250905021614.py
Выдрин Сергей dbd5663bf8 f
2025-09-05 02:32:03 +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;'
)