Skip to content

[ibm-db] Mark constants as Final#15465

Merged
srittau merged 3 commits intopython:mainfrom
brianschubert:stubs-ibmdb-final
Feb 27, 2026
Merged

[ibm-db] Mark constants as Final#15465
srittau merged 3 commits intopython:mainfrom
brianschubert:stubs-ibmdb-final

Conversation

@brianschubert
Copy link
Collaborator

@brianschubert brianschubert commented Feb 27, 2026

Also

  • Add missing __version__
  • Set literal values for a few constants. These all have hard-coded values and have been stable since being introduced. I sanity-checked the values using stubtest from mypy's master branch, which now checks Final values (python/mypy#20858)

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit 843c1fd into python:main Feb 27, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants