Title: Replace Field(description=...) with proper docstrings in auth models · Issue #2053 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Replace Field(description=...) with proper docstrings in auth models · Issue #2053 · modelcontextprotocol/python-sdk
X Title: Replace Field(description=...) with proper docstrings in auth models · Issue #2053 · modelcontextprotocol/python-sdk
Description: From the V2 checklist in #1253 (under "Refactor the auth way of using it"): Drop the use of Field(description=...), and use proper docstrings. As far as I know, we are not creating json schemas from it, so it's useless. The auth-related ...
Open Graph Description: From the V2 checklist in #1253 (under "Refactor the auth way of using it"): Drop the use of Field(description=...), and use proper docstrings. As far as I know, we are not creating json schemas fro...
X Description: From the V2 checklist in #1253 (under "Refactor the auth way of using it"): Drop the use of Field(description=...), and use proper docstrings. As far as I know, we are not creating json s...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/2053
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replace Field(description=...) with proper docstrings in auth models","articleBody":"From the V2 checklist in #1253 (under \"Refactor the auth way of using it\"):\n\n\u003e Drop the use of `Field(description=...)`, and use proper docstrings. As far as I know, we are not creating json schemas from it, so it's useless.\n\nThe auth-related Pydantic models currently use `Field(description=...)` to document fields. Since we are not generating JSON schemas from these models, the descriptions are not surfaced anywhere useful. They should be replaced with standard Python docstrings that are more discoverable via IDEs and `help()`.\n\nThis is part of the broader auth refactor planned for V2.\n\nRef: Kludex's V2 checklist in #1253","author":{"url":"https://github.com/maxisbey","@type":"Person","name":"maxisbey"},"datePublished":"2026-02-13T14:07:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2053/python-sdk/issues/2053"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f3e85733-ae52-dd4c-540e-cdea527d7bbf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E82:3F6E8D:9E10E9:D2BF93:6A5CE13C |
| html-safe-nonce | a3bb1985f2d0068d2c46158c0f0eeacd3af5a37b095213290082cae76bd8b738 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTgyOjNGNkU4RDo5RTEwRTk6RDJCRjkzOjZBNUNFMTNDIiwidmlzaXRvcl9pZCI6IjcyNTgxMTcyOTg4ODg0MzM5ODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 26fc5be7f6340088e552b5a4f2ac43c01feb6f412c8d399d3bae1d7054118451 |
| hovercard-subject-tag | issue:3937355171 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/modelcontextprotocol/python-sdk/2053/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7a55d59843acf20782259df706aa9231f390be9dcb08ff138ff915794f8bf565/modelcontextprotocol/python-sdk/issues/2053 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7a55d59843acf20782259df706aa9231f390be9dcb08ff138ff915794f8bf565/modelcontextprotocol/python-sdk/issues/2053 |
| og:image:alt | From the V2 checklist in #1253 (under "Refactor the auth way of using it"): Drop the use of Field(description=...), and use proper docstrings. As far as I know, we are not creating json schemas fro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxisbey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width