default_args={'owner':'airflow','start_date':datetime(2023,10,23)}dag=DAG('python_operator',default_args=default_args,schedule_interval='@daily')start_task=DummyOperator(task_id='start_task',dag=dag)end_task=DummyOperator(task_id='end_task',dag=dag)deftest_func():print(f'Test function Executed')task1=PythonOperator(task_id="task1",python_callable=test_functionop_kwargs={"key":"value"},dag=dag)start_task>>task_1>>end_task