Skip to content

[PyMySQL] Accept bytearray and date fallbacks in temporal converters - #16896

Open
wozhenbang2004 wants to merge 1 commit into
python:mainfrom
wozhenbang2004:patch-1
Open

wozhenbang2004 wants to merge 1 commit into
python:mainfrom
wozhenbang2004:patch-1

Conversation

@wozhenbang2004

Copy link
Copy Markdown

Part of #9006.

Accept bytearray in the temporal converters and include the date fallback of convert_datetime, matching the PyMySQL 1.2.4 implementation.

Agent used: ChatGPT (GPT-6 Astra Pro).

Updated type hints for convert_datetime, convert_timedelta, convert_time, and convert_date functions to include bytearray.
@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