python-sdk/src/mcp/shared
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Soria Parra 37f6a3229c
fix: use pydantic Field with alias for _meta fields
Pydantic treats fields starting with underscore as private/hidden. To fix this,
we need to use Field with alias='_meta' to properly handle these fields while
keeping the external API unchanged. This fixes #103 where meta fields were not
being properly assigned in request contexts.
2024-12-21 23:16:24 +00:00
..
__init__.py rename mcp_python to mcp 2024-11-11 12:40:32 +00:00
context.py rename mcp_python to mcp 2024-11-11 12:40:32 +00:00
exceptions.py rename mcp_python to mcp 2024-11-11 12:40:32 +00:00
memory.py rename mcp_python to mcp 2024-11-11 12:40:32 +00:00
progress.py rename mcp_python to mcp 2024-11-11 12:40:32 +00:00
session.py fix: use pydantic Field with alias for _meta fields 2024-12-21 23:16:24 +00:00
version.py rename mcp_python to mcp 2024-11-11 12:40:32 +00:00