Skip to content

psycopg: fix cursor execute and executemany signatures #2332

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 5 commits into from
Jul 8, 2025

Conversation

xrmx
Copy link
Member

@xrmx xrmx commented Jul 3, 2025

What does this pull request do?

Adapt {Async,}CursorProxy._trace_sql to take into account other keyword arguments passed to it.

Related issues

Closes #2293

@xrmx xrmx requested a review from a team as a code owner July 3, 2025 15:25
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 marked this pull request as draft July 3, 2025 15:27
@xrmx
Copy link
Member Author

xrmx commented Jul 3, 2025

Moved to draft, need also to update elasticapm/instrumentation/packages/asyncio/psycopg_async.py

xrmx added 2 commits July 4, 2025 09:30
Adapt CursorProxy._trace_sql to take into account other keyword
arguments passed to it.
Adapt AsyncCursorProxy._trace_sql to take into account other keyword
arguments passed to it.
@xrmx xrmx force-pushed the psycopg-cursor-execute-update branch from fd46708 to 0e3dea5 Compare July 4, 2025 09:03
@xrmx xrmx marked this pull request as ready for review July 4, 2025 09:14
@xrmx xrmx merged commit c3de952 into elastic:main Jul 8, 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.

ElasticAPM middleware breaks langgraph checkpointer?
2 participants