amoghrajesh commented on PR #48648:
URL: https://github.com/apache/airflow/pull/48648#issuecomment-2771371883

   I just created this dag:
   ```
   from airflow.providers.standard.operators.python import PythonOperator
   from airflow.sdk import DAG
   from airflow.decorators import task
   
   def pusher2(*args, **kwargs):
       return args
   
   with DAG(
       'rtif',
       schedule=None,
       catchup=False,
   ) as dag:
   
       @task
       def pusher1(dict1):
           return dict1
   
       op_args = ["hello_world", '{{ 
macros.uuid.UUID("01234567891011121314151617181920") }}']
       t1 = pusher1(op_args)
   
       t2 = PythonOperator(
           task_id='pusher2',
           python_callable=pusher2,
           op_args=op_args
       )
   
       t1 >> t2
   
   ```
   
   And this problem only occurs for @task decorator and not for regular tasks.
   
   
![image](https://github.com/user-attachments/assets/23cd2375-3234-4a55-b641-d959bf000e75)
   
   
   
![image](https://github.com/user-attachments/assets/11fcf604-f2b4-4d4b-bbcc-756e1c8e16af)
   


-- 
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]

Reply via email to