refactor: reorganize message handling for better type safety and clarity#239
Merged
dsp-ant merged 9 commits intomainmodelcontextprotocol/python-sdk:mainfrom Mar 13, 2025
davidsp/raw-requestmodelcontextprotocol/python-sdk:davidsp/raw-requestCopy head branch name to clipboard
Merged
refactor: reorganize message handling for better type safety and clarity#239dsp-ant merged 9 commits intomainmodelcontextprotocol/python-sdk:mainfrom davidsp/raw-requestmodelcontextprotocol/python-sdk:davidsp/raw-requestCopy head branch name to clipboard
dsp-ant merged 9 commits intomainmodelcontextprotocol/python-sdk:mainfrom
davidsp/raw-requestmodelcontextprotocol/python-sdk:davidsp/raw-requestCopy head branch name to clipboard
Commits
Commits on Mar 13, 2025
refactor: improve typing with memory stream type aliases
Show description for 8ea8bf5committed- committed
refactor: update test files to use ParsedMessage
Show description for 5be7a25committedrefactor: rename ParsedMessage to MessageFrame for clarity
Show description for 1d98c5candcommittedrefactor: move MessageFrame class to types.py for better code organization
Show description for 7a74c0eandcommitted- committed
refactor: update websocket client to use MessageFrame
Show description for d3e3763committedfix: use NoneType instead of None for type parameters in MessageFrame
Show description for 4a341a6committed- committed