Skip to content

psycopg2: fix cursor execute and executemany signatures #2331

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

Merged
merged 3 commits into from
Jul 7, 2025

Conversation

xrmx
Copy link
Member

@xrmx xrmx commented Jul 3, 2025

What does this pull request do?

The sql parameter is called query and the parameters are called vars and vars_list.

Related issues

Closes #2279

@xrmx xrmx requested a review from a team as a code owner July 3, 2025 13:33
Copy link

github-actions bot commented Jul 3, 2025

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@xrmx xrmx force-pushed the cursor-execute-vars-argument branch 3 times, most recently from 45def73 to b875367 Compare July 3, 2025 15:05
The sql parameter is called query and the parameters are called vars and
vars_list.
@xrmx xrmx force-pushed the cursor-execute-vars-argument branch from b875367 to 05a69e6 Compare July 3, 2025 15:08
@xrmx xrmx changed the title psycopg{2,}: fix cursor execute and executemany signatures psycopg2: fix cursor execute and executemany signatures Jul 3, 2025
basepi
basepi previously approved these changes Jul 3, 2025
@xrmx xrmx merged commit 4534249 into elastic:main Jul 7, 2025
91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

psycopg2: cursor.execute doesn't allow vars argument
3 participants