MCPcopy Index your code
hub / github.com/modelcontextprotocol/python-sdk / _notification_params

Function _notification_params

src/mcp/server/connection.py:71–76  ·  view source on GitHub ↗
(payload: dict[str, Any] | None, meta: Meta | None)

Source from the content-addressed store, hash-verified

69
70
71def _notification_params(payload: dict[str, Any] | None, meta: Meta | None) -> dict[str, Any] | None:
72 if not meta:
73 return payload
74 out = dict(payload or {})
75 out["_meta"] = meta
76 return out
77
78
79class _NoChannelOutbound:

Callers 5

logMethod · 0.85
send_resource_updatedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected