We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ae633c commit 3b076beCopy full SHA for 3b076be
src/mcp/server/fastmcp/server.py
@@ -949,9 +949,7 @@ def fastmcp(self) -> FastMCP:
949
return self._fastmcp
950
951
@property
952
- def request_context(
953
- self,
954
- ) -> RequestContext[ServerSessionT, LifespanContextT]:
+ def request_context(self) -> RequestContext[ServerSessionT, LifespanContextT]:
955
"""Access to the underlying request context."""
956
if self._request_context is None:
957
raise ValueError("Context is not available outside of a request")
0 commit comments