Skip to content

Conversation

@svlandeg
Copy link
Member

Since SQLAlchemy 2.0.44, we can remove two unnecessary type: ignore statements. If we don't remove them, mypy will fail our CI with

sqlmodel/orm/session.py:116: error: Unused "type: ignore" comment  [unused-ignore]
sqlmodel/ext/asyncio/session.py:132: error: Unused "type: ignore" comment  [unused-ignore]
Found 2 errors in 2 files
Copy link
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@tiangolo tiangolo merged commit 95c6b2d into fastapi:main Oct 21, 2025
27 checks passed
@svlandeg svlandeg deleted the fix/unused_ignores branch October 21, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants