Lee-W commented on PR #53035:
URL: https://github.com/apache/airflow/pull/53035#issuecomment-3131134510

   <img width="214" height="73" alt="image" 
src="https://github.com/user-attachments/assets/63e7cce8-2721-4104-8b7a-70c17679833c";
 />
   
   Hey @guan404ming , I just played with it a bit. It seems we're not correctly 
highlight defaults.
   
   ```python
       valid_input_and_options = ApprovalOperator(
   
           task_id="valid_input_and_options",
   
           subject="Are the following input and options valid?",
   
           body="""
   
           Input: {{ task_instance.xcom_pull(task_ids='wait_for_input', 
key='return_value')["params_input"]["information"] }}
   
           Option: {{ task_instance.xcom_pull(task_ids='wait_for_option', 
key='return_value')["chosen_options"] }}
   
           """,
   
           defaults="Reject",
   
           execution_timeout=datetime.timedelta(minutes=1),
   
       )
   ```


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