Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError calling executemany with empty parameter set #82

Closed
GKTheOne opened this issue Sep 12, 2021 · 1 comment
Closed

AttributeError calling executemany with empty parameter set #82

GKTheOne opened this issue Sep 12, 2021 · 1 comment

Comments

@GKTheOne
Copy link

Exception when calling Cursor.executemany with an empty param_sets iterator.
AttributeError: 'NoneType' object has no attribute 'row_count'
https://github.com/tlocke/pg8000/blob/1.21.1/pg8000/legacy.py#L304

@tlocke
Copy link
Owner

tlocke commented Sep 14, 2021

Hi @GKTheOne, thanks for reporting this. I've released version 1.21.2 in which the bug should be fixed. I'll close this issue for now, but please do re-open if it's still a problem.

@tlocke tlocke closed this as completed Sep 14, 2021
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

No branches or pull requests

2 participants