Title: Drop stale superset-leniency note from ElicitResult.content docstring by maxisbey · Pull Request #2884 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Drop stale superset-leniency note from ElicitResult.content docstring by maxisbey · Pull Request #2884 · modelcontextprotocol/python-sdk
X Title: Drop stale superset-leniency note from ElicitResult.content docstring by maxisbey · Pull Request #2884 · modelcontextprotocol/python-sdk
Description: Removes a stale paragraph from the ElicitResult.content docstring in the superset monolith. Motivation and Context The docstring claimed the None arm in the content value union was superset-only leniency and that "the schema-exact surface types declare no null arm." As of #2849, both committed per-version packages (v2025_11_25 and v2026_07_28) declare | None in their generated ElicitResult.content value union, so the note is now incorrect. How Has This Been Tested? Docstring-only change. ruff format, ruff check, and pyright pass on the touched file; pre-commit hooks pass. Breaking Changes None. Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to change) Documentation update Checklist I have read the MCP Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional context Follow-up nit on #2849. AI Disclaimer
Open Graph Description: Removes a stale paragraph from the ElicitResult.content docstring in the superset monolith. Motivation and Context The docstring claimed the None arm in the content value union was superset-only le...
X Description: Removes a stale paragraph from the ElicitResult.content docstring in the superset monolith. Motivation and Context The docstring claimed the None arm in the content value union was superset-only le...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/2884
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:05b2b39e-4e70-7031-9058-0eaec0134e22 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C598:B33BC:509A9A:6A3D8E:6A59808C |
| html-safe-nonce | da9e6cd24241598e2d1aa947b89f28de79d98c84fa330c1734670e433302936d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTk4OkIzM0JDOjUwOUE5QTo2QTNEOEU6NkE1OTgwOEMiLCJ2aXNpdG9yX2lkIjoiNzYyNzA1NzE4NDM0MjkwMDg3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 80b66fde3c0938911ff22587cac572b496cbcfc4760e51d934fe2eb1f1b4e339 |
| hovercard-subject-tag | pull_request:3878283480 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/2884/files |
| twitter:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/224885523?s=400&v=4 |
| og:image:alt | Removes a stale paragraph from the ElicitResult.content docstring in the superset monolith. Motivation and Context The docstring claimed the None arm in the content value union was superset-only le... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 624bb50a7497aa346bef8cc3743af408a9ea10ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width