ephraimbuddy commented on a change in pull request #18562: URL: https://github.com/apache/airflow/pull/18562#discussion_r720101808
########## File path: airflow/example_dags/example_trigger_target_dag.py ########## @@ -24,11 +24,12 @@ from datetime import datetime from airflow import DAG +from airflow.decorators import task from airflow.operators.bash import BashOperator -from airflow.operators.python import PythonOperator -def run_this_func(dag_run): +@task(task_id="run_this") +def run_this_func(dag_run=None): Review comment: This would fail if there's no dag_run because of the print statement below -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org