Loading docker-celery-3.0.5/dags/dag_hello_world.py +21 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ default_args = { } with DAG( dag_id="dag_hello_world", dag_id="dag_hello_world_5", default_args=default_args, description="A simple tutorial DAG", start_date=datetime(2023, 1, 1), Loading @@ -32,3 +32,23 @@ with DAG( retries=3, ) t1 >> t2 with DAG( dag_id="dag_hello_world_60", default_args=default_args, description="A simple tutorial DAG", start_date=datetime(2023, 1, 1), schedule="@daily", catchup=False, tags={"example"}, ) as dag: t1 = BashOperator( task_id="print_date", bash_command="date", ) t2 = BashOperator( task_id="sleep", bash_command="sleep 60", retries=3, ) t1 >> t2 Loading
docker-celery-3.0.5/dags/dag_hello_world.py +21 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ default_args = { } with DAG( dag_id="dag_hello_world", dag_id="dag_hello_world_5", default_args=default_args, description="A simple tutorial DAG", start_date=datetime(2023, 1, 1), Loading @@ -32,3 +32,23 @@ with DAG( retries=3, ) t1 >> t2 with DAG( dag_id="dag_hello_world_60", default_args=default_args, description="A simple tutorial DAG", start_date=datetime(2023, 1, 1), schedule="@daily", catchup=False, tags={"example"}, ) as dag: t1 = BashOperator( task_id="print_date", bash_command="date", ) t2 = BashOperator( task_id="sleep", bash_command="sleep 60", retries=3, ) t1 >> t2