Title: Allow to pass timeout as float by Kludex · Pull Request #941 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Allow to pass timeout as float by Kludex · Pull Request #941 · modelcontextprotocol/python-sdk
X Title: Allow to pass timeout as float by Kludex · Pull Request #941 · modelcontextprotocol/python-sdk
Description: I personally think that timedelta adds an unnecessary complexity, and is inconsistent with the SSE implementation. Even if it's considered the "right type", I don't think those timeouts should be used with any other unit than seconds/milliseconds. I'm implementing it like this because it is the least breaking change, and @dsp-ant said he'd prefer it. Closes #936
Open Graph Description: I personally think that timedelta adds an unnecessary complexity, and is inconsistent with the SSE implementation. Even if it's considered the "right type", I don't think those ti...
X Description: I personally think that timedelta adds an unnecessary complexity, and is inconsistent with the SSE implementation. Even if it's considered the "right type", I don'...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/941
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7bd042c9-4b6e-5142-2951-cd1cfb9ebaa1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ABB6:DB094:C5A5E0:113D71B:6A625961 |
| html-safe-nonce | 39326f9e1b5aeadf457f9905456b642c5ecc427a14fea6fc4b750849e897de58 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkI2OkRCMDk0OkM1QTVFMDoxMTNENzFCOjZBNjI1OTYxIiwidmlzaXRvcl9pZCI6IjMwNzkzMzQwNjA4NjEwNTMyODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3a0f977fc9045ac825cf19315fe8ba8a564700e20c1c038ff081b8a0d6ccf827 |
| hovercard-subject-tag | pull_request:2586237391 |
| 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/941/files |
| twitter:image | https://avatars.githubusercontent.com/u/7353520?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7353520?s=400&v=4 |
| og:image:alt | I personally think that timedelta adds an unnecessary complexity, and is inconsistent with the SSE implementation. Even if it's considered the "right type", I don't think those ti... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b928dd27bb9305f313c737471c216297e218430ec505d064cf33d7d74af9bf89 |
| 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 | 6f728c3f39985ee4d171ffdd5591d8d2652392d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width