This commit is contained in:
Выдрин Сергей
2025-09-05 16:06:27 +03:00
parent f4fefd6c5b
commit 3373ffcea8
3 changed files with 23 additions and 1 deletions

View File

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

View File

@@ -0,0 +1,11 @@
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")

View File

@@ -3,7 +3,7 @@ from airflow.operators.dummy import DummyOperator
from datetime import datetime
with DAG(
dag_id="hello_world",
dag_id="hello_world_postgre",
start_date=datetime(2025, 1, 1),
schedule_interval="@daily",
catchup=False,