| react-profiling | 0 |
| react-import-map | react,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/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:836977d8-514f-36b6-888b-98bcb9fba4e9 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D0FE:FCC28:1321983:1A3BDFE:6B056D97 |
| html-safe-nonce | 9c063b8537d438101770b85b3c95c7f937eb3b3e5b37bad900712ec1ec0f35c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEZFOkZDQzI4OjEzMjE5ODM6MUEzQkRGRTo2QjA1NkQ5NyIsInZpc2l0b3JfaWQiOiI0NTQ1MzUyNTA1MTk0MDE2MTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 017e5848663ff6b151b19cba93c14571a1435ca0f83c635b7905a565c911e496 |
| hovercard-subject-tag | pull_request:3274895130 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/checks |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2042/checks |
| twitter:image | https://opengraph.githubassets.com/9025f8cddecd02242b24fdc7f345181d8d3aa3b332b8e4240c52b31c757600a1/modelcontextprotocol/python-sdk/pull/2042 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9025f8cddecd02242b24fdc7f345181d8d3aa3b332b8e4240c52b31c757600a1/modelcontextprotocol/python-sdk/pull/2042 |
| og:image:alt | Summary
Fix find_context_parameter() to correctly detect Context parameters in callable class instances registered via FastMCP.add_tool().
Motivation and Context
When registering a callable class i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hashwnath |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c |
| turbo-cache-control | no-cache |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f089e689ad324655ac44bf6cdbc04d976105b374 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/2042/checks#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2042%2Fchecks |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2042%2Fchecks |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2042/checks |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2042/checks |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2042/checks |
| modelcontextprotocol | https://github.com/modelcontextprotocol |
| python-sdk | https://github.com/modelcontextprotocol/python-sdk |
| Code | https://github.com/modelcontextprotocol/python-sdk |
| Issues320 (320) | https://github.com/modelcontextprotocol/python-sdk/issues |
| Pull requests112 (112) | https://github.com/modelcontextprotocol/python-sdk/pulls |
| Actions | https://github.com/modelcontextprotocol/python-sdk/actions |
| Projects | https://github.com/modelcontextprotocol/python-sdk/projects |
| Security and quality12 (12) | https://github.com/modelcontextprotocol/python-sdk/security |
| Insights | https://github.com/modelcontextprotocol/python-sdk/insights |
| https://github.com/modelcontextprotocol/python-sdk |
| hashwnath | https://github.com/hashwnath |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| hashwnath:fix/context-parameter-callable-class | https://github.com/hashwnath/python-sdk/tree/fix/context-parameter-callable-class |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/2042 |
| Commits1 (1) | https://github.com/modelcontextprotocol/python-sdk/pull/2042/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/2042/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/2042/files |
| fix: handle callable class instances in find_context_parameter() | https://github.com/modelcontextprotocol/python-sdk/pull/2042/checks#top |
| hashwnath | https://github.com/hashwnath |
| modelcontextprotocol:main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| hashwnath:fix/context-parameter-callable-class | https://github.com/hashwnath/python-sdk/tree/fix/context-parameter-callable-class |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2042/checks |
| Sign in for the full log view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2042%2Fchecks |
|
Claude Code Review
on: pull_request
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853073 |
|
claude-review
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853073/job/63355930438?pr=2042 |
|
Conformance Tests
on: pull_request
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853081 |
|
server-conformance
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853081/job/63355930428?pr=2042 |
|
client-conformance
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853081/job/63355930447?pr=2042 |
|
CI
on: pull_request
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102 |
|
checks / pre-commit
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930227?pr=2042 |
|
checks / test (3.10, lowest-direct, ubuntu-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930230?pr=2042 |
|
checks / test (3.10, lowest-direct, windows-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930197?pr=2042 |
|
checks / test (3.10, locked, ubuntu-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930223?pr=2042 |
|
checks / test (3.10, locked, windows-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930216?pr=2042 |
|
checks / test (3.11, lowest-direct, ubuntu-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930256?pr=2042 |
|
checks / test (3.11, lowest-direct, windows-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930237?pr=2042 |
|
checks / test (3.11, locked, ubuntu-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930204?pr=2042 |
|
checks / test (3.11, locked, windows-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930199?pr=2042 |
|
checks / test (3.12, lowest-direct, ubuntu-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930188?pr=2042 |
|
checks / test (3.12, lowest-direct, windows-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930195?pr=2042 |
|
checks / test (3.12, locked, ubuntu-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930225?pr=2042 |
|
checks / test (3.12, locked, windows-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930303?pr=2042 |
|
checks / test (3.13, lowest-direct, ubuntu-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930200?pr=2042 |
|
checks / test (3.13, lowest-direct, windows-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930226?pr=2042 |
|
checks / test (3.13, locked, ubuntu-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930257?pr=2042 |
|
checks / test (3.13, locked, windows-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930236?pr=2042 |
|
checks / test (3.14, lowest-direct, ubuntu-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930224?pr=2042 |
|
checks / test (3.14, lowest-direct, windows-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930246?pr=2042 |
|
checks / test (3.14, locked, ubuntu-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930201?pr=2042 |
|
checks / test (3.14, locked, windows-latest)
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930220?pr=2042 |
|
checks / readme-snippets
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63355930211?pr=2042 |
|
all-green
| https://github.com/modelcontextprotocol/python-sdk/actions/runs/21937853102/job/63356240770?pr=2042 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |