ris-tlp opened a new pull request, #57239:
URL: https://github.com/apache/airflow/pull/57239

   Fixes 8 MyPy errors shown below in `execution_api/routes/hitl.py`.
   Part of #56735.
   
   
   <img width="561" height="242" alt="image" 
src="https://github.com/user-attachments/assets/56acc5c7-7c07-4020-bc27-1bdd2a55bfb8";
 />
   <img width="560" height="257" alt="image" 
src="https://github.com/user-attachments/assets/a751b778-c172-4c71-912f-79d841941a45";
 />
   
   Fixing the errors above gives rise to a type mismatch of `chosen_options` 
between `HITLDetail` and `UpdateHITLDetailPayload` models. Not entirely sure 
how to resolve that since `HITLDetail.chosen_options` is of type `Mapped[dict | 
None]` and `UpdateHITLDetailPayload.chosen_options` is `list[str]`.
   
   <img width="606" height="95" alt="image" 
src="https://github.com/user-attachments/assets/6c889e41-c2a3-4635-85ac-ad8e07dca7db";
 />
   


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