From a4be3720054ced715b5ef7a638d36e53b4590858 Mon Sep 17 00:00:00 2001 From: airflow Date: Thu, 4 Sep 2025 07:43:51 +0000 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20hello.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hello.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hello.py diff --git a/hello.py b/hello.py new file mode 100644 index 0000000..6cff5d1 --- /dev/null +++ b/hello.py @@ -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) \ No newline at end of file