René's URL Explorer Experiment


Title: test(anthropic): Stream valid JSON by alexander-alderman-webb · Pull Request #5641 · getsentry/sentry-python · GitHub

Open Graph Title: test(anthropic): Stream valid JSON by alexander-alderman-webb · Pull Request #5641 · getsentry/sentry-python

X Title: test(anthropic): Stream valid JSON by alexander-alderman-webb · Pull Request #5641 · 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 Returning the same items from .stream() results in a validation failure in anthropic, because JSON uses double and not single quotes. Issues Reminders Please add tests to validate y...

X Description: Description Returning the same items from .stream() results in a validation failure in anthropic, because JSON uses double and not single quotes. Issues Reminders Please add tests to validate y...

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

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:8c2055c8-4035-1bc8-27ff-6422e6eeec37
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE42C:11EACE:5C063C:7D436B:6B00D3AA
html-safe-nonce68e29db9bfb00494bcbf608423588a62b7561e8185288260d95587d9d76d7ca4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDJDOjExRUFDRTo1QzA2M0M6N0Q0MzZCOjZCMDBEM0FBIiwidmlzaXRvcl9pZCI6IjUwNTE5NzgxMzI5NDEyMzEwMTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac271a522d020561292a48af7726daf980d627e8b988c0c12de983a2386e5241f3
hovercard-subject-tagpull_request:3385344174
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/5641/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2e74be12ef9d3bf39cfa69cf6ce02b7e9ab87dba4e887b6c96d5360a428f8b39/getsentry/sentry-python/pull/5641
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2e74be12ef9d3bf39cfa69cf6ce02b7e9ab87dba4e887b6c96d5360a428f8b39/getsentry/sentry-python/pull/5641
og:image:altDescription Returning the same items from .stream() results in a validation failure in anthropic, because JSON uses double and not single quotes. Issues Reminders Please add tests to validate y...
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/5641#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5641
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%2F5641
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/5641
Reloadhttps://github.com/getsentry/sentry-python/pull/5641
Reloadhttps://github.com/getsentry/sentry-python/pull/5641
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/anthropic/json-formathttps://github.com/getsentry/sentry-python/tree/webb/anthropic/json-format
Conversationhttps://github.com/getsentry/sentry-python/pull/5641
Commits15 (15)https://github.com/getsentry/sentry-python/pull/5641/commits
Checkshttps://github.com/getsentry/sentry-python/pull/5641/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/5641/files
test(anthropic): Stream valid JSONhttps://github.com/getsentry/sentry-python/pull/5641#top
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/anthropic/json-formathttps://github.com/getsentry/sentry-python/tree/webb/anthropic/json-format
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Mar 11, 2026https://github.com/getsentry/sentry-python/pull/5641#issue-4059637671
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5641
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/5641
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 2, 2026 09:53https://github.com/getsentry/sentry-python/pull/5641#commits-pushed-dc517ba
https://github.com/alexander-alderman-webb
test(anthropic): Stop mocking response iteratorhttps://github.com/getsentry/sentry-python/pull/5641/commits/dc517ba9db35b059e06f2a9c7cfd3a8ab0beeeb3
dc517bahttps://github.com/getsentry/sentry-python/pull/5641/commits/dc517ba9db35b059e06f2a9c7cfd3a8ab0beeeb3
https://github.com/alexander-alderman-webb
merge masterhttps://github.com/getsentry/sentry-python/pull/5641/commits/18b6d58873c162fa025ab309f9ef2250fcc7aaea
18b6d58https://github.com/getsentry/sentry-python/pull/5641/commits/18b6d58873c162fa025ab309f9ef2250fcc7aaea
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5641/commits/59c6a3840d8be29eacd5bf06a9707e9813fccc79
59c6a38https://github.com/getsentry/sentry-python/pull/5641/commits/59c6a3840d8be29eacd5bf06a9707e9813fccc79
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5641/commits/370a3ce8a08970bfd4cf17c7df316790f4a4b10f
370a3cehttps://github.com/getsentry/sentry-python/pull/5641/commits/370a3ce8a08970bfd4cf17c7df316790f4a4b10f
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5641/commits/09516b79ed3aab92df15ad33106c26e425665409
09516b7https://github.com/getsentry/sentry-python/pull/5641/commits/09516b79ed3aab92df15ad33106c26e425665409
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5641/commits/020f1de94f9e1502e3c5762a0fbe1b28a9431b25
020f1dehttps://github.com/getsentry/sentry-python/pull/5641/commits/020f1de94f9e1502e3c5762a0fbe1b28a9431b25
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5641/commits/2a34bd4cbceec49ed44e836e48dbcdd7f1cc4743
2a34bd4https://github.com/getsentry/sentry-python/pull/5641/commits/2a34bd4cbceec49ed44e836e48dbcdd7f1cc4743
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5641/commits/340b49427e2dd61f259d133e2e41143a2307ccc5
340b494https://github.com/getsentry/sentry-python/pull/5641/commits/340b49427e2dd61f259d133e2e41143a2307ccc5
https://github.com/alexander-alderman-webb
remove fixurehttps://github.com/getsentry/sentry-python/pull/5641/commits/d2e37fa04966a4cf520e4f30612e1fdd304d466a
d2e37fahttps://github.com/getsentry/sentry-python/pull/5641/commits/d2e37fa04966a4cf520e4f30612e1fdd304d466a
https://github.com/alexander-alderman-webb
remove unused importhttps://github.com/getsentry/sentry-python/pull/5641/commits/9d095a29b03351bb8c444f92e65816f54593af2b
9d095a2https://github.com/getsentry/sentry-python/pull/5641/commits/9d095a29b03351bb8c444f92e65816f54593af2b
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5641/commits/d79629142ddaa879023a166986a834d0c7112bbb
d796291https://github.com/getsentry/sentry-python/pull/5641/commits/d79629142ddaa879023a166986a834d0c7112bbb
https://github.com/alexander-alderman-webb
test(anthropic): Stream valid JSONhttps://github.com/getsentry/sentry-python/pull/5641/commits/96c77124d38aa3d26fa93baf625b46ff21f4f7af
96c7712https://github.com/getsentry/sentry-python/pull/5641/commits/96c77124d38aa3d26fa93baf625b46ff21f4f7af
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 11, 2026https://github.com/getsentry/sentry-python/pull/5641#issuecomment-4040932125
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5641
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5641
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 11, 2026 17:40https://github.com/getsentry/sentry-python/pull/5641#event-23479154112
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
code ownerhttps://github.com/getsentry/sentry-python/blob/1edececf0658fe5823a95baa8ec8661be3794d2a/.github/CODEOWNERS#L1
March 11, 2026 17:40https://github.com/getsentry/sentry-python/pull/5641#event-23479154309
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 11, 2026https://github.com/getsentry/sentry-python/pull/5641#issuecomment-4040949800
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5641
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5641
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Mar 11, 2026 https://github.com/getsentry/sentry-python/pull/5641#pullrequestreview-3931355298
View reviewed changes https://github.com/getsentry/sentry-python/pull/5641/files/96c77124d38aa3d26fa93baf625b46ff21f4f7af
tests/integrations/anthropic/test_anthropic.pyhttps://github.com/getsentry/sentry-python/pull/5641/files/96c77124d38aa3d26fa93baf625b46ff21f4f7af#diff-3f015b03855e3bb647b04195c2a27a75ece9eb2c427a13c79a5ab81660a1365d
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5641
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
Mar 11, 2026 https://github.com/getsentry/sentry-python/pull/5641#pullrequestreview-3931485530
View reviewed changes https://github.com/getsentry/sentry-python/pull/5641/files/96c77124d38aa3d26fa93baf625b46ff21f4f7af
https://github.com/alexander-alderman-webb
update async testhttps://github.com/getsentry/sentry-python/pull/5641/commits/0b190703695ae3c1d28d779ff0af07fc338f0155
0b19070https://github.com/getsentry/sentry-python/pull/5641/commits/0b190703695ae3c1d28d779ff0af07fc338f0155
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Mar 11, 2026 https://github.com/getsentry/sentry-python/pull/5641#pullrequestreview-3931524939
View reviewed changes https://github.com/getsentry/sentry-python/pull/5641/files/0b190703695ae3c1d28d779ff0af07fc338f0155
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/5641#pullrequestreview-3931524939
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/5641
tests/integrations/anthropic/test_anthropic.pyhttps://github.com/getsentry/sentry-python/pull/5641/files/0b190703695ae3c1d28d779ff0af07fc338f0155#diff-3f015b03855e3bb647b04195c2a27a75ece9eb2c427a13c79a5ab81660a1365d
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5641
https://github.com/alexander-alderman-webb
update assertionhttps://github.com/getsentry/sentry-python/pull/5641/commits/b02ee79dc3862d633b272f8ea61be29852a88fe7
b02ee79https://github.com/getsentry/sentry-python/pull/5641/commits/b02ee79dc3862d633b272f8ea61be29852a88fe7
March 13, 2026 12:53https://github.com/getsentry/sentry-python/pull/5641#event-23545111365
https://github.com/alexander-alderman-webb
merge masterhttps://github.com/getsentry/sentry-python/pull/5641/commits/6277d0f5bb167e2cfe8e3497ae7ec0c5f5b4fc82
6277d0fhttps://github.com/getsentry/sentry-python/pull/5641/commits/6277d0f5bb167e2cfe8e3497ae7ec0c5f5b4fc82
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
6df01e9https://github.com/getsentry/sentry-python/commit/6df01e97fa7ceb6b4a95b9b45e730b5b99e20435
Mar 13, 2026https://github.com/getsentry/sentry-python/pull/5641#event-23545568874
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5641
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 13, 2026 13:08https://github.com/getsentry/sentry-python/pull/5641#event-23545570155
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Mar 17, 2026 https://github.com/getsentry/sentry-python/pull/5641#ref-issue-4088788354
publish: getsentry/sentry-python@2.55.0 getsentry/publish#7485 https://github.com/getsentry/publish/issues/7485
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%2F5641
https://github.com/apps/sentry
sentry[bot] https://github.com/apps/sentry
https://github.com/getsentry/sentry-python/pull/5641/files/96c77124d38aa3d26fa93baf625b46ff21f4f7af
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/5641/files/0b190703695ae3c1d28d779ff0af07fc338f0155
https://github.com/ericapisani
ericapisani https://github.com/ericapisani
https://github.com/getsentry/sentry-python/pull/5641/files/96c77124d38aa3d26fa93baf625b46ff21f4f7af
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5641
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5641
https://github.com/alexander-alderman-webb
https://github.com/ericapisani
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.