Добавить test.py
This commit is contained in:
14
test.py
Normal file
14
test.py
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
from airflow import DAG
|
||||||
|
from airflow.operators.dummy import DummyOperator
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
|
with DAG(
|
||||||
|
'minimal_do_nothing_dag',
|
||||||
|
start_date=datetime(2023, 1, 1),
|
||||||
|
schedule_interval=None,
|
||||||
|
catchup=False,
|
||||||
|
) as dag:
|
||||||
|
|
||||||
|
do_nothing_task = DummyOperator(
|
||||||
|
task_id='do_nothing'
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user