You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ris-tlp (via GitHub)" <gi...@apache.org> on 2025/10/25 11:59:16 UTC

[PR] SQLA1 -> SQLA2: Mypy fix execution_api/routes/hitl.py [airflow]

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] SQLA1 -> SQLA2: Mypy fix execution_api/routes/hitl.py [airflow]

Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck merged PR #57239:
URL: https://github.com/apache/airflow/pull/57239


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org