You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bindparams() returns a new clause, so this result is thrown away and the list goes to the driver as is:
TypeError: list can not be used as parameter
It worked by accident until now. PyMySQL up to 1.2.3 turned a list into (1,2,3). PyMySQL 1.2.4 (released Nov 9) doesn't, and it isn't pinned (it comes in through aiomysql).
How I checked
test_list_data_id against the test database:
PyMySQL 1.1.3, 1.2.0, 1.2.3: 4 passed
PyMySQL 1.2.4: 4 failed
CI doesn't show it yet because the image fails earlier on greenlet (#377, #380).
Fix
Assign the result, like tasks.py already does. The existing test covers it. I'll open a PR.
Activity