René's URL Explorer Experiment


Title: fix: ignore 'return' key when detecting Context parameter · Drima-code/python-sdk@f37be04 · GitHub

Open Graph Title: fix: ignore 'return' key when detecting Context parameter · Drima-code/python-sdk@f37be04

X Title: fix: ignore 'return' key when detecting Context parameter · Drima-code/python-sdk@f37be04

Description: The official Python SDK for Model Context Protocol servers and clients - fix: ignore 'return' key when detecting Context parameter · Drima-code/python-sdk@f37be04

Open Graph Description: typing.get_type_hints() includes the return annotation under the special key 'return', so a tool/prompt/resource function annotated '-> Context' was misdetected as having a conte...

X Description: typing.get_type_hints() includes the return annotation under the special key 'return', so a tool/prompt/resource function annotated '-> Context' was misdetect...

Opengraph URL: /Drima-code/python-sdk/commit/f37be04c2c8b1fb76405665a3558786b5127a3d1

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

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/:user_id/:repository/commit/:name(/*path)
route-controllercommit
route-actionshow
fetch-noncev2:9af03322-cc09-8d9f-c989-4101e5d114ac
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idE866:495E0:A6729:E891A:6B056B05
html-safe-nonce04b7ef6ae2b16f2e6483f02b947259cd3262b59d6a73ccaad84db1354acb17c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODY2OjQ5NUUwOkE2NzI5OkU4OTFBOjZCMDU2QjA1IiwidmlzaXRvcl9pZCI6IjM4NTM5NzU1OTUwMzM5MTQxMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccaa630804192b50eff3522c9d41cf72360d6392f101a19e3c574db11f8df0a03
hovercard-subject-tagrepository:1372321505
github-keyboard-shortcutsrepository,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///commit/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Drima-code/python-sdk/commit/f37be04
twitter:imagehttps://opengraph.githubassets.com/572c7df37d8cdfa6e423003bc06969693c85022ddda1171ebdfe6582fe8afca4/Drima-code/python-sdk/commit/f37be04c2c8b1fb76405665a3558786b5127a3d1
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/572c7df37d8cdfa6e423003bc06969693c85022ddda1171ebdfe6582fe8afca4/Drima-code/python-sdk/commit/f37be04c2c8b1fb76405665a3558786b5127a3d1
og:image:alttyping.get_type_hints() includes the return annotation under the special key 'return', so a tool/prompt/resource function annotated '-> Context' was misdetected as having a conte...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:updated_time1789517915
hostnamegithub.com
expected-hostnamegithub.com
None1be5cc09efdd4833c24a4ffa71d698e3999fa09071e159fe14c2c08e41c98331
turbo-cache-controlno-cache
go-importgithub.com/Drima-code/python-sdk git https://github.com/Drima-code/python-sdk.git
octolytics-dimension-user_id24616630
octolytics-dimension-user_loginDrima-code
octolytics-dimension-repository_id1372321505
octolytics-dimension-repository_nwoDrima-code/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id862584018
octolytics-dimension-repository_parent_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
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
releasef6d69234e682c947a48074340e69d45d5901de31
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namecommits

Links:

Skip to contenthttps://github.com/Drima-code/python-sdk/commit/f37be04#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDrima-code%2Fpython-sdk%2Fcommit%2Ff37be04
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%2FDrima-code%2Fpython-sdk%2Fcommit%2Ff37be04
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fcommit%2Fshow&source=header-repo&source_repo=Drima-code%2Fpython-sdk
Reloadhttps://github.com/Drima-code/python-sdk/commit/f37be04
Reloadhttps://github.com/Drima-code/python-sdk/commit/f37be04
Reloadhttps://github.com/Drima-code/python-sdk/commit/f37be04
Drima-codehttps://github.com/Drima-code
python-sdkhttps://github.com/Drima-code/python-sdk
Codehttps://github.com/Drima-code/python-sdk
Pull requestshttps://github.com/Drima-code/python-sdk/pulls
Actionshttps://github.com/Drima-code/python-sdk/actions
Projectshttps://github.com/Drima-code/python-sdk/projects
Security and qualityhttps://github.com/Drima-code/python-sdk/security
Insightshttps://github.com/Drima-code/python-sdk/pulse
https://github.com/Drima-code/python-sdk
Browse fileshttps://github.com/Drima-code/python-sdk/tree/f37be04c2c8b1fb76405665a3558786b5127a3d1
https://github.com/Drima-code/python-sdk/tree/f37be04c2c8b1fb76405665a3558786b5127a3d1
https://github.com/Drima-code
Drima-codehttps://github.com/Drima-code/python-sdk/commits?author=Drima-code
modelcontextprotocol#3298https://github.com/modelcontextprotocol/python-sdk/issues/3298
9972c21https://github.com/Drima-code/python-sdk/commit/9972c21aa42054fb1450c5fc614761ed11847ec6
context_injection.pyhttps://github.com/Drima-code/python-sdk/commit/f37be04#diff-1b4ab7dd31f66da1830d323a66bff21b9b1a8d6d9220bc9f73bf2daee3bf3382
__init__.pyhttps://github.com/Drima-code/python-sdk/commit/f37be04#diff-45a7d5041fc3b9d9bd60becaf1c669e5c04aa96dd9e53e68f82f38c8c080530f
test_context_injection.pyhttps://github.com/Drima-code/python-sdk/commit/f37be04#diff-63ac1fd6469cc81e8e823ee75cfd33ce27b911c71085de6e0bd820315c902fae
‎src/mcp/server/mcpserver/utilities/context_injection.py‎https://github.com/Drima-code/python-sdk/commit/f37be04#diff-1b4ab7dd31f66da1830d323a66bff21b9b1a8d6d9220bc9f73bf2daee3bf3382
‎tests/server/mcpserver/utilities/__init__.py‎https://github.com/Drima-code/python-sdk/commit/f37be04#diff-45a7d5041fc3b9d9bd60becaf1c669e5c04aa96dd9e53e68f82f38c8c080530f
‎tests/server/mcpserver/utilities/test_context_injection.py‎https://github.com/Drima-code/python-sdk/commit/f37be04#diff-63ac1fd6469cc81e8e823ee75cfd33ce27b911c71085de6e0bd820315c902fae
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.