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

   Fixes 5 MyPy errors shown below in 
`api_fastapi/core_api/routes/public/assets.py`.
   Part of #56735.
   
   CursorResult casts are done according to the recommended approach for these 
MyPy errors in the [SQLAlchemy 2.0 
changelog](https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-0651b868cdc88d28c57469affceaf05f)
 and mentioned in an issue 
[here](https://github.com/sqlalchemy/sqlalchemy/issues/12913). If cast() is not 
the preferred approach for fixing these errors, I can add 
`type:ignore[attr-defined]` instead. 
   
   <img width="1098" height="572" alt="image" 
src="https://github.com/user-attachments/assets/e83e4ea5-890b-4c1b-875e-1bf09842c054";
 />


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