typing: improve type coverage in sqlalchemy.sql.base for issue #6810#12707
typing: improve type coverage in sqlalchemy.sql.base for issue #6810#12707kapildagur wants to merge 3 commits intosqlalchemy:mainfrom
Conversation
CaselIT
left a comment
There was a problem hiding this comment.
great work. I've left some comments but the general code is great, thanks
|
Hii @CaselIT , While testing the latest changes, I noticed that an unused This is currently breaking the GitHub workflow for the raised PR. Would it be okay to remove this in the same PR to keep the CI passing cleanly? Just wanted to confirm before making that change. Thanks! |
|
Sure thanks |
|
Hi @CaselIT, I've made all the suggested changes and also fixed the GitHub workflow issue by removing the unused When you have a chance, please feel free to run the workflow and review the PR — let me know if there's anything else that needs adjustment or improvement. Thanks again for your guidance! |
sqla-tester
left a comment
There was a problem hiding this comment.
OK, this is sqla-tester setting up my work on behalf of CaselIT to try to get revision 7374212 of this pull request into gerrit so we can run tests and reviews and stuff
|
New Gerrit review created for change 7374212: https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/6028 |
|
It's fine to keep, I 'll adjust as needed in gerrit next. Thanks for your contribution! |
|
Gerrit review https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/6028 has been merged. Congratulations! :) |
|
Michael Bayer (zzzeek) wrote: this needs to pass pep484 in order to merge View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/6029 |
|
This weekend I'm planning for |
|
sure |
|
Federico Caselli (CaselIT) wrote: recheck pep484 View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/6029 |
|
Federico Caselli (CaselIT) wrote: pep484 recheck View this in Gerrit at https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/6029 |
|
Gerrit review https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/6029 has been merged. Congratulations! :) |
✅ typing: improve type coverage in
sqlalchemy.sql.basefor issue #6810Overview
This pull request enhances the type coverage of the
sqlalchemy.sql.basemodule as part of the gradual migration toward complete static typing under--strictmode (#6810).The typing improvements were made with careful consideration of:
Mypy
--strictcompatibilityRuntime behavior preservation
Avoidance of external API typing regressions
Maintaining test and slot safety
Isolating downstream typing impact
✅ Validation Checklist