Добавить hello.py

This commit is contained in:
2025-09-04 07:43:51 +00:00
parent 2581f0a348
commit a4be372005

9
hello.py Normal file
View File

@@ -0,0 +1,9 @@
from airflow import DAG
from airflow.operators.python import PythonOperator
from datetime import datetime
def hello():
print("Hello Airflow!")
with DAG("hello_world", start_date=datetime(2025, 9, 4), schedule_interval="@once") as dag:
t1 = PythonOperator(task_id="hello", python_callable=hello)