René's URL Explorer Experiment


Title: fix(openai): Avoid consuming iterables passed to the Embeddings API by alexander-alderman-webb · Pull Request #5491 · getsentry/sentry-python · GitHub

Open Graph Title: fix(openai): Avoid consuming iterables passed to the Embeddings API by alexander-alderman-webb · Pull Request #5491 · getsentry/sentry-python

X Title: fix(openai): Avoid consuming iterables passed to the Embeddings API by alexander-alderman-webb · Pull Request #5491 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: Description Avoid consuming single-use iterators passed to the Embeddings API. Consumable iterables nested inside the input object are out of scope for this PR. All iterables that are not dictiona...

X Description: Description Avoid consuming single-use iterators passed to the Embeddings API. Consumable iterables nested inside the input object are out of scope for this PR. All iterables that are not dictiona...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/5491

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:12b29878-d654-8fa5-b22c-85904ee83f7a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE316:2AAD2E:5B9B2C:7C304C:6B00D3B3
html-safe-nonced72250d37f0f701e9e3cb18a97f1f6876da3f9b798680abdf7689f812c7e4fe4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzE2OjJBQUQyRTo1QjlCMkM6N0MzMDRDOjZCMDBEM0IzIiwidmlzaXRvcl9pZCI6IjEyNzYxODA4MjcyMDk3ODIxOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8f1fa49c900bee4c34e0ee3c1fd5bfe50cfcbba9df1d508a8938416569c560b9
hovercard-subject-tagpull_request:3307732922
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/5491/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/84de7dfee79bf307e576e9771dd82d74a0ab52b72f4bfc7e7937193a2f4be48f/getsentry/sentry-python/pull/5491
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/84de7dfee79bf307e576e9771dd82d74a0ab52b72f4bfc7e7937193a2f4be48f/getsentry/sentry-python/pull/5491
og:image:altDescription Avoid consuming single-use iterators passed to the Embeddings API. Consumable iterables nested inside the input object are out of scope for this PR. All iterables that are not dictiona...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexander-alderman-webb
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/5491#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5491
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5491
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/pull/5491
Reloadhttps://github.com/getsentry/sentry-python/pull/5491
Reloadhttps://github.com/getsentry/sentry-python/pull/5491
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/stop-consuming-embeddingshttps://github.com/getsentry/sentry-python/tree/webb/stop-consuming-embeddings
Conversationhttps://github.com/getsentry/sentry-python/pull/5491
Commits5 (5)https://github.com/getsentry/sentry-python/pull/5491/commits
Checkshttps://github.com/getsentry/sentry-python/pull/5491/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/5491/files
fix(openai): Avoid consuming iterables passed to the Embeddings APIhttps://github.com/getsentry/sentry-python/pull/5491#top
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/stop-consuming-embeddingshttps://github.com/getsentry/sentry-python/tree/webb/stop-consuming-embeddings
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Feb 20, 2026https://github.com/getsentry/sentry-python/pull/5491#issue-3968362011
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
https://github.com/openai/openai-python/blob/3e0c05b84a2056870abf3bd6a5e7849020209cc3/src/openai/_utils/_transform.py#L154https://github.com/openai/openai-python/blob/3e0c05b84a2056870abf3bd6a5e7849020209cc3/src/openai/_utils/_transform.py#L154
conventional commithttps://develop.sentry.dev/engineering-practices/commit-messages/#type
CONTRIBUTING.mdhttps://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md
Sentry SDK development docshttps://develop.sentry.dev/sdk/
Discord communityhttps://discord.gg/Ww9hbqr
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
https://github.com/alexander-alderman-webb
fix(openai): Avoid consuming iterables passed to the Embeddings APIhttps://github.com/getsentry/sentry-python/pull/5491/commits/7091e62a0d4ae1c8921782e0c0e3d989b1897a49
7091e62https://github.com/getsentry/sentry-python/pull/5491/commits/7091e62a0d4ae1c8921782e0c0e3d989b1897a49
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 20, 2026https://github.com/getsentry/sentry-python/pull/5491#issuecomment-3934046942
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 20, 2026https://github.com/getsentry/sentry-python/pull/5491#issuecomment-3934059424
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
https://github.com/alexander-alderman-webb
remove unused type ignorehttps://github.com/getsentry/sentry-python/pull/5491/commits/5c03b6e7803334e342cf374bdf7bba680e7e5811
5c03b6ehttps://github.com/getsentry/sentry-python/pull/5491/commits/5c03b6e7803334e342cf374bdf7bba680e7e5811
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
February 20, 2026 13:57https://github.com/getsentry/sentry-python/pull/5491#event-22949518821
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
code ownerhttps://github.com/getsentry/sentry-python/blob/8ae6b3f9beb9ff9fc09188641b3e9f924f1bad15/.github/CODEOWNERS#L1
February 20, 2026 13:57https://github.com/getsentry/sentry-python/pull/5491#event-22949519073
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Feb 20, 2026 https://github.com/getsentry/sentry-python/pull/5491#pullrequestreview-3832191738
View reviewed changes https://github.com/getsentry/sentry-python/pull/5491/files/5c03b6e7803334e342cf374bdf7bba680e7e5811
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/5491#pullrequestreview-3832191738
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Cursor dashboardhttps://www.cursor.com/dashboard?tab=bugbot
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
tests/integrations/openai/test_openai.pyhttps://github.com/getsentry/sentry-python/pull/5491/files/5c03b6e7803334e342cf374bdf7bba680e7e5811#diff-124250cd315dcdeda25b556b766c5053e3b2870d0b0e23d6b3a35eb639bd24cd
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
February 20, 2026 15:05https://github.com/getsentry/sentry-python/pull/5491#commits-pushed-bf46e1e
https://github.com/alexander-alderman-webb
add dict edge casehttps://github.com/getsentry/sentry-python/pull/5491/commits/bf46e1eea7041ed7816defb3fc1f74468b550813
bf46e1ehttps://github.com/getsentry/sentry-python/pull/5491/commits/bf46e1eea7041ed7816defb3fc1f74468b550813
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5491/commits/8bfb726fddd9f6bcb34048f5d0f9f1019f2385c9
8bfb726https://github.com/getsentry/sentry-python/pull/5491/commits/8bfb726fddd9f6bcb34048f5d0f9f1019f2385c9
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
Feb 20, 2026 https://github.com/getsentry/sentry-python/pull/5491#pullrequestreview-3833533625
View reviewed changes https://github.com/getsentry/sentry-python/pull/5491/files/8bfb726fddd9f6bcb34048f5d0f9f1019f2385c9
tests/integrations/openai/test_openai.pyhttps://github.com/getsentry/sentry-python/pull/5491/files/8bfb726fddd9f6bcb34048f5d0f9f1019f2385c9#diff-124250cd315dcdeda25b556b766c5053e3b2870d0b0e23d6b3a35eb639bd24cd
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
tests/integrations/openai/test_openai.pyhttps://github.com/getsentry/sentry-python/pull/5491/files/8bfb726fddd9f6bcb34048f5d0f9f1019f2385c9#diff-124250cd315dcdeda25b556b766c5053e3b2870d0b0e23d6b3a35eb639bd24cd
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
Feb 20, 2026 https://github.com/getsentry/sentry-python/pull/5491#pullrequestreview-3833635714
View reviewed changes https://github.com/getsentry/sentry-python/pull/5491/files/8bfb726fddd9f6bcb34048f5d0f9f1019f2385c9
ericapisanihttps://github.com/ericapisani
https://github.com/getsentry/sentry-python/pull/5491#pullrequestreview-3833635714
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
https://github.com/alexander-alderman-webb
remove unnecessary asyncio markhttps://github.com/getsentry/sentry-python/pull/5491/commits/852189e158e1bb5163990d5d46cec8c14b98a4ae
852189ehttps://github.com/getsentry/sentry-python/pull/5491/commits/852189e158e1bb5163990d5d46cec8c14b98a4ae
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 23, 2026 https://github.com/getsentry/sentry-python/pull/5491#pullrequestreview-3840958305
View reviewed changes https://github.com/getsentry/sentry-python/pull/5491/files/852189e158e1bb5163990d5d46cec8c14b98a4ae
tests/integrations/openai/test_openai.pyhttps://github.com/getsentry/sentry-python/pull/5491/files/852189e158e1bb5163990d5d46cec8c14b98a4ae#diff-124250cd315dcdeda25b556b766c5053e3b2870d0b0e23d6b3a35eb639bd24cd
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Feb 23, 2026 https://github.com/getsentry/sentry-python/pull/5491#pullrequestreview-3840968156
View reviewed changes https://github.com/getsentry/sentry-python/pull/5491/files/852189e158e1bb5163990d5d46cec8c14b98a4ae
sentry_sdk/integrations/openai.pyhttps://github.com/getsentry/sentry-python/pull/5491/files/852189e158e1bb5163990d5d46cec8c14b98a4ae#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
d52e511https://github.com/getsentry/sentry-python/commit/d52e511ac0b06029a1cd39285f605f9aacaaa2e2
Feb 23, 2026https://github.com/getsentry/sentry-python/pull/5491#event-23001106899
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
February 23, 2026 13:17https://github.com/getsentry/sentry-python/pull/5491#event-23001108209
https://github.com/apps/claude
claudehttps://github.com/apps/claude
claude-code-assisted https://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3Aclaude-code-assisted
Feb 24, 2026https://github.com/getsentry/sentry-python/pull/5491#event-23025061472
publish: getsentry/sentry-python@2.52.0a7 getsentry/publish#7263 https://github.com/getsentry/publish/issues/7263
publish: getsentry/sentry-python@2.54.0 getsentry/publish#7317 https://github.com/getsentry/publish/issues/7317
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5491
https://github.com/ericapisani
ericapisani https://github.com/ericapisani
https://github.com/getsentry/sentry-python/pull/5491/files/8bfb726fddd9f6bcb34048f5d0f9f1019f2385c9
https://github.com/apps/sentry
sentry[bot] https://github.com/apps/sentry
https://github.com/getsentry/sentry-python/pull/5491/files/852189e158e1bb5163990d5d46cec8c14b98a4ae
https://github.com/apps/github-actions
github-actions[bot] https://github.com/apps/github-actions
https://github.com/getsentry/sentry-python/pull/5491/files/852189e158e1bb5163990d5d46cec8c14b98a4ae
https://github.com/sentrivana
sentrivana https://github.com/sentrivana
https://github.com/getsentry/sentry-python/pull/5491/files/8bfb726fddd9f6bcb34048f5d0f9f1019f2385c9
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/5491/files/5c03b6e7803334e342cf374bdf7bba680e7e5811
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5491
https://github.com/alexander-alderman-webb
https://github.com/ericapisani
https://github.com/sentrivana
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.