Skip to content

[mysqlclient] Annotate cursor result metadata - #16917

Open
harithnabilf wants to merge 1 commit into
python:mainfrom
harithnabilf:mysqlclient-cursor-metadata
Open

harithnabilf wants to merge 1 commit into
python:mainfrom
harithnabilf:mysqlclient-cursor-metadata

Conversation

@harithnabilf

Copy link
Copy Markdown

BaseCursor.description, description_flags, lastrowid, rownumber and connection were Incomplete, and execute(), nextset(), callproc() and __enter__() had no return types. This annotates them, along with the _mysql methods that produce the values.

Upstream (v2.3.2):

Agent used: Claude Code (claude-opus-5-5).

@github-actions

Copy link
Copy Markdown
Contributor

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant