guocity commented on issue #57433: URL: https://github.com/apache/airflow/issues/57433#issuecomment-3456893569
here is a sample dag, and the error occur when i click the toggle <img width="200" height="47" alt="Image" src="https://github.com/user-attachments/assets/369762a8-d312-4614-a49a-21b670d5fa4f" /> from datetime import datetime, timedelta from airflow.sdk import DAG, task from scripts.hello_world import hello_world_1, hello_world_2 default_args = { 'owner': 'airflow', 'depends_on_past': False, 'start_date': datetime(2024, 1, 1), 'email_on_failure': False, 'email_on_retry': False, 'retries': 1, 'retry_delay': timedelta(minutes=5), } dag = DAG( 'v2_sample', default_args=default_args, description='A simple sample DAG that runs a hello world script', schedule=timedelta(days=1), catchup=False, ) @task(dag=dag, show_return_value_in_logs=False) def fetch_page(): return hello_world_1() @task(dag=dag, show_return_value_in_logs=False) def process_data(ti): return hello_world_2(ti) fetch_page() >> process_data() -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
