Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

The lifespan_context object here is not a dictionary like the other e…#1002

Merged
ihrpr merged 5 commits intomodelcontextprotocol:mainmodelcontextprotocol/python-sdk:mainfrom
johnbikes:lifespan_ctx_readmejohnbikes/modelcontextprotocol-python-sdk:lifespan_ctx_readmeCopy head branch name to clipboard
Jul 10, 2025
Merged

The lifespan_context object here is not a dictionary like the other e…#1002
ihrpr merged 5 commits intomodelcontextprotocol:mainmodelcontextprotocol/python-sdk:mainfrom
johnbikes:lifespan_ctx_readmejohnbikes/modelcontextprotocol-python-sdk:lifespan_ctx_readmeCopy head branch name to clipboard

Conversation

@johnbikes
Copy link
Contributor

…xample without a dataclass

Motivation and Context

How Has This Been Tested?

Breaking Changes

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

@johnbikes johnbikes closed this Jun 22, 2025
@johnbikes johnbikes reopened this Jun 22, 2025
Copy link
Contributor

@ihrpr ihrpr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Matches the test in test_355_type_error.py

@ihrpr ihrpr merged commit ee54acb into modelcontextprotocol:main Jul 10, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.