René's URL Explorer Experiment


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: The official Python SDK for Model Context Protocol servers and clients - Allow to pass timeout as float by Kludex · Pull Request #941 · modelcontextprotocol/python-sdk

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

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:6e46a9da-6dfc-1faf-bdb7-313125b73802
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9AEC:3E511B:6BF444:92A9A2:6A618339
html-safe-nonced25b2159e9deec8a2645ad576f4e1e6bdf450867e7698958fe47d84d5fb821d3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUVDOjNFNTExQjo2QkY0NDQ6OTJBOUEyOjZBNjE4MzM5IiwidmlzaXRvcl9pZCI6IjYyODI0NTgxODcwMzM1NzYyNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3c69e3d3116b2f9ee559b06b7cce40a8cd5e9814e3ebe70032096dbdcbf2ffe7
hovercard-subject-tagpull_request:2586237391
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/modelcontextprotocol/python-sdk/941/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8b0debd0f22464e203374538f83aa5e081d67baab00c1950ae52df70bf3df69e/modelcontextprotocol/python-sdk/pull/941
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8b0debd0f22464e203374538f83aa5e081d67baab00c1950ae52df70bf3df69e/modelcontextprotocol/python-sdk/pull/941
og:image:altI 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:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKludex
hostnamegithub.com
expected-hostnamegithub.com
Nonec28c2f6607f2aacbd934868d997038895c9780d08babfe918550d73773326f4c
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
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
releasecd05235d52ffb3318513d883a56c87a121015c8b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/941#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F941
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F941
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/941
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/941
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/941
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/941
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 268 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 313 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Kludexhttps://github.com/Kludex
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
use-float-and-timedeltahttps://github.com/modelcontextprotocol/python-sdk/tree/use-float-and-timedelta
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/941
Commits1 (1)https://github.com/modelcontextprotocol/python-sdk/pull/941/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/941/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/941/files
Allow to pass timeout as floathttps://github.com/modelcontextprotocol/python-sdk/pull/941#top
Kludexhttps://github.com/Kludex
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
use-float-and-timedeltahttps://github.com/modelcontextprotocol/python-sdk/tree/use-float-and-timedelta
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 12, 2025https://github.com/modelcontextprotocol/python-sdk/pull/941#issue-3139044513
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/941
@dsp-anthttps://github.com/dsp-ant
Inconsistent timeout and sse_read_timeout Types in sse_client and streamablehttp_client #936https://github.com/modelcontextprotocol/python-sdk/issues/936
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/941
https://github.com/Kludex
Allow to pass timeout as floathttps://github.com/modelcontextprotocol/python-sdk/pull/941/commits/3332bab1b4e5478ef8eb5941dee5e29d9a214c4e
3332babhttps://github.com/modelcontextprotocol/python-sdk/pull/941/commits/3332bab1b4e5478ef8eb5941dee5e29d9a214c4e
https://github.com/Kludex
Kludexhttps://github.com/Kludex
Jun 12, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/941#pullrequestreview-2919734964
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/941/files/3332bab1b4e5478ef8eb5941dee5e29d9a214c4e
src/mcp/client/streamable_http.pyhttps://github.com/modelcontextprotocol/python-sdk/pull/941/files/3332bab1b4e5478ef8eb5941dee5e29d9a214c4e#diff-e8c18a3067a9b157c5c39a947f53d395afeb00e7026dad2d5a279011da943b5e
Kludexhttps://github.com/Kludex
Jun 12, 2025https://github.com/modelcontextprotocol/python-sdk/pull/941#discussion_r2141843959
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/941
https://github.com/Kludex
Kludexhttps://github.com/Kludex
dsp-anthttps://github.com/dsp-ant
ihrprhttps://github.com/ihrpr
June 12, 2025 06:46https://github.com/modelcontextprotocol/python-sdk/pull/941#event-18108540265
https://github.com/samuelcolvin
samuelcolvinhttps://github.com/samuelcolvin
Jun 12, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/941#pullrequestreview-2919822612
View reviewed changes https://github.com/modelcontextprotocol/python-sdk/pull/941/files/3332bab1b4e5478ef8eb5941dee5e29d9a214c4e
samuelcolvinhttps://github.com/samuelcolvin
https://github.com/modelcontextprotocol/python-sdk/pull/941#pullrequestreview-2919822612
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/941
https://github.com/Kludex
Kludexhttps://github.com/Kludex
20dc0fbhttps://github.com/modelcontextprotocol/python-sdk/commit/20dc0fbabb31a33ee52ae6d452445464cca35508
Jun 12, 2025https://github.com/modelcontextprotocol/python-sdk/pull/941#event-18109308012
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/941
https://github.com/Kludex
Kludexhttps://github.com/Kludex
June 12, 2025 07:31https://github.com/modelcontextprotocol/python-sdk/pull/941#event-18109308360
adopted float instead of timedelta for timeout parameters openai/openai-agents-python#874 https://github.com/openai/openai-agents-python/pull/874
Inconsistent timeout and sse_read_timeout Types in MCPServerSseParams and MCPServerStreamableHttpParams openai/openai-agents-python#845 https://github.com/openai/openai-agents-python/issues/845
rm-openaihttps://github.com/rm-openai
Jun 16, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/941#ref-commit-281a7b2
https://github.com/DanieleMorotti
adopted float instead of timedelta for timeout parameters (https://github.com/openai/openai-agents-python/commit/281a7b2bb61cb20346e75234fbfaa2bf4ab808cc
#874https://github.com/openai/openai-agents-python/pull/874
)https://github.com/openai/openai-agents-python/commit/281a7b2bb61cb20346e75234fbfaa2bf4ab808cc
281a7b2https://github.com/openai/openai-agents-python/commit/281a7b2bb61cb20346e75234fbfaa2bf4ab808cc
#845https://github.com/openai/openai-agents-python/issues/845
modelcontextprotocol/python-sdk#941https://github.com/modelcontextprotocol/python-sdk/pull/941
niv-hertzhttps://github.com/niv-hertz
Jun 20, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/941#ref-commit-884aec7
https://github.com/DanieleMorotti
https://github.com/niv-hertz
adopted float instead of timedelta for timeout parameters (https://github.com/coralogix/openai-agents-python/commit/884aec75b5d9f6b6cc6568653d7582bac3a1e616
openai#874https://github.com/openai/openai-agents-python/pull/874
)https://github.com/coralogix/openai-agents-python/commit/884aec75b5d9f6b6cc6568653d7582bac3a1e616
884aec7https://github.com/coralogix/openai-agents-python/commit/884aec75b5d9f6b6cc6568653d7582bac3a1e616
openai#845https://github.com/openai/openai-agents-python/issues/845
modelcontextprotocol/python-sdk#941https://github.com/modelcontextprotocol/python-sdk/pull/941
niv-hertzhttps://github.com/niv-hertz
Jun 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/941#ref-commit-1549dfc
https://github.com/niv-hertz
https://github.com/rm-openai
https://github.com/DanieleMorotti
https://github.com/pakrym-oai
AIDEV-1420 | support handoffs OpenAI sdk (https://github.com/coralogix/openai-agents-python/commit/1549dfc4e30d7df18f9c907bae3e9b328c40ee82
#2https://github.com/coralogix/openai-agents-python/pull/2
)https://github.com/coralogix/openai-agents-python/commit/1549dfc4e30d7df18f9c907bae3e9b328c40ee82
1549dfchttps://github.com/coralogix/openai-agents-python/commit/1549dfc4e30d7df18f9c907bae3e9b328c40ee82
openai#872https://github.com/openai/openai-agents-python/pull/872
openai#860https://github.com/openai/openai-agents-python/issues/860
https://chatgpt.com/codex/tasks/task_i_684f1cf885b08321b4dd3f4294e24ca2https://chatgpt.com/codex/tasks/task_i_684f1cf885b08321b4dd3f4294e24ca2
openai#874https://github.com/openai/openai-agents-python/pull/874
openai#845https://github.com/openai/openai-agents-python/issues/845
modelcontextprotocol/python-sdk#941https://github.com/modelcontextprotocol/python-sdk/pull/941
openai#876https://github.com/openai/openai-agents-python/pull/876
openai#878https://github.com/openai/openai-agents-python/pull/878
openai#720https://github.com/openai/openai-agents-python/pull/720
openai#895https://github.com/openai/openai-agents-python/pull/895
#1https://github.com/coralogix/openai-agents-python/pull/1
gold-crow-997https://github.com/gold-crow-997
Sep 11, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/941#ref-commit-f41ef6c
https://github.com/gold-crow-997
adopted float instead of timedelta for timeout parameters (#874)https://github.com/gold-crow-997/open-ai-agent/commit/f41ef6cca268685cc993140db3d1f690e4ce77b3
f41ef6chttps://github.com/gold-crow-997/open-ai-agent/commit/f41ef6cca268685cc993140db3d1f690e4ce77b3
modelcontextprotocol/python-sdk#941https://github.com/modelcontextprotocol/python-sdk/pull/941
JwCwnhttps://github.com/JwCwn
Dec 23, 2025 https://github.com/modelcontextprotocol/python-sdk/pull/941#ref-commit-3ec0738
https://github.com/JwCwn
adopted float instead of timedelta for timeout parameters (#874)https://github.com/JwCwn/open-ai-agents-python/commit/3ec07382a724e05f94954b77ba8e54ce45da8147
3ec0738https://github.com/JwCwn/open-ai-agents-python/commit/3ec07382a724e05f94954b77ba8e54ce45da8147
modelcontextprotocol/python-sdk#941https://github.com/modelcontextprotocol/python-sdk/pull/941
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F941
https://github.com/dsp-ant
dsp-ant https://github.com/dsp-ant
https://github.com/ihrpr
ihrpr https://github.com/ihrpr
https://github.com/samuelcolvin
samuelcolvin https://github.com/samuelcolvin
https://github.com/modelcontextprotocol/python-sdk/pull/941/files/3332bab1b4e5478ef8eb5941dee5e29d9a214c4e
Inconsistent timeout and sse_read_timeout Types in sse_client and streamablehttp_client https://github.com/modelcontextprotocol/python-sdk/issues/936
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/941
https://github.com/Kludex
https://github.com/samuelcolvin
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

Viewport: width=device-width


URLs of crawlers that visited me.