This commit is contained in:
Выдрин Сергей
2025-09-05 16:57:49 +03:00
parent 4e16933fb3
commit 010ed90aeb
2 changed files with 0 additions and 20 deletions

View File

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

View File

@@ -1,11 +0,0 @@
from airflow import DAG
from airflow.operators.dummy import DummyOperator
from datetime import datetime
with DAG(
dag_id="hello_world_postgre",
start_date=datetime(2025, 1, 1),
schedule_interval="@daily",
catchup=False,
) as dag:
task = DummyOperator(task_id="dummy_task")