Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
modelcontextprotocol
python-sdk
Repository navigation
Code
Issues
286
(286)
Pull requests
109
(109)
Actions
Projects
Security and quality
12
(12)
Insights
More
items
Feature: Async handling of sampling calls
- #840
#840
Closed
wreed4
wants to merge 14 commits into
modelcontextprotocol:main
modelcontextprotocol/python-sdk:main
from
wreed4:async-sampling
wreed4/python-sdk:async-sampling
Copy head branch name to clipboard
Conversation
Commits
14
(14)
Checks
Files changed
Closed
Feature: Async handling of sampling calls
#840
wreed4
wants to merge 14 commits into
modelcontextprotocol:main
modelcontextprotocol/python-sdk:main
from
wreed4:async-sampling
wreed4/python-sdk:async-sampling
Copy head branch name to clipboard
Commits
Commits on May 29, 2025
added change and formatted with ruff
wreed4
committed
e895e52
View commit details
Copy full SHA for e895e52
Browse repository at this point
added tests
wreed4
committed
9065a68
View commit details
Copy full SHA for 9065a68
Browse repository at this point
tried another implementation
wreed4
committed
afe9dfa
View commit details
Copy full SHA for afe9dfa
Browse repository at this point
formatting
wreed4
committed
1f3eb27
View commit details
Copy full SHA for 1f3eb27
Browse repository at this point
Add type assertions for TextContent in tests
wreed4
committed
ed21943
View commit details
Copy full SHA for ed21943
Browse repository at this point
I think this works but the test is randomly hanging once I've removed sleeps and prints and I have no idea why?
wreed4
committed
aff40b2
View commit details
Copy full SHA for aff40b2
Browse repository at this point
reduced time a bit
wreed4
committed
c02a73d
View commit details
Copy full SHA for c02a73d
Browse repository at this point
remove prints
wreed4
committed
dca806b
View commit details
Copy full SHA for dca806b
Browse repository at this point
Commits on May 30, 2025
adding sleep to avoid deadlock
wreed4
committed
49cbc29
View commit details
Copy full SHA for 49cbc29
Browse repository at this point
formatting
wreed4
committed
41ac446
View commit details
Copy full SHA for 41ac446
Browse repository at this point
Commits on Jun 23, 2025
Merge branch 'main' of github.com:modelcontextprotocol/python-sdk into async-sampling
wreed4
committed
3fd71e4
View commit details
Copy full SHA for 3fd71e4
Browse repository at this point
reformat
wreed4
committed
d61dc09
View commit details
Copy full SHA for d61dc09
Browse repository at this point
Commits on Jun 24, 2025
Merge branch 'main' into async-sampling
wreed4
authored
99a0b26
View commit details
Copy full SHA for 99a0b26
Browse repository at this point
Commits on Jul 2, 2025
Merge branch 'main' into async-sampling
wreed4
authored
afc4e91
View commit details
Copy full SHA for afc4e91
Browse repository at this point
You can’t perform that action at this time.