Skip to content

[psycopg2] Improve wait callback types - #16646

Merged
srittau merged 1 commit into
python:mainfrom
salahadin-hassen:psycopg2-wait-callback-types
Oct 29, 2026
Merged

srittau merged 1 commit into
python:mainfrom
salahadin-hassen:psycopg2-wait-callback-types

Conversation

@salahadin-hassen

Copy link
Copy Markdown
Contributor

Improve the psycopg2 wait callback annotations so type checkers enforce the documented callback signature.

Upstream references:

AI agent used: Claude Code (Claude Opus 5.5) assisted with source research, annotation design, implementation, and validation.

@github-actions

Copy link
Copy Markdown
Contributor

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

@srittau
srittau merged commit 0ac438a into python:main Oct 29, 2026
74 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