python-sdk/tests/issues
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Soria Parra 9d0f2daddb
Some checks failed
Main branch checks / checks (push) Has been cancelled
refactor: reorganize message handling for better type safety and clarity (#239)
* refactor: improve typing with memory stream type aliases

Move memory stream type definitions to models.py and use them throughout
the codebase for better type safety and maintainability.

GitHub-Issue:#201

* refactor: move streams to ParsedMessage

* refactor: update test files to use ParsedMessage

Updates test files to work with the ParsedMessage stream type aliases
and fixes a line length issue in test_201_client_hangs_on_logging.py.

Github-Issue:#201

* refactor: rename ParsedMessage to MessageFrame for clarity

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: move MessageFrame class to types.py for better code organization

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>

* fix pyright

* refactor: update websocket client to use MessageFrame

Modified the websocket client to work with the new MessageFrame type,
preserving raw message text and properly extracting the root JSON-RPC
message when sending.

Github-Issue:#204

* fix: use NoneType instead of None for type parameters in MessageFrame

🤖 Generated with [Claude Code](https://claude.ai/code)

* refactor: rename root to message
2025-03-13 13:44:55 +00:00
..
test_88_random_error.py fix: improve error handling and request cancellation for issue #88 2025-02-04 18:20:17 +00:00
test_100_tool_listing.py style: Fix import sorting and update ruff version 2025-01-03 15:57:14 +00:00
test_129_resource_templates.py fix: #129 resource template handling in FastMCP server 2025-01-06 20:02:03 +00:00
test_141_resource_templates.py Fix #177: Returning multiple tool results (#222) 2025-02-20 21:31:26 +00:00
test_152_resource_mime_type.py Fix #177: Returning multiple tool results (#222) 2025-02-20 21:31:26 +00:00
test_176_progress_token.py test: add tests for server lifespan support 2025-02-11 12:16:47 +00:00
test_188_concurrency.py fix: mark test as pytest.mark.anyio 2025-02-20 11:04:29 +00:00
test_192_request_id.py refactor: reorganize message handling for better type safety and clarity (#239) 2025-03-13 13:44:55 +00:00