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

Function fn

tests/server/mcpserver/test_func_metadata.py:1224–1224  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1222
1223def test_convert_result_passes_input_required_result_through_unchanged():
1224 def fn() -> str | InputRequiredResult: ... # pragma: no branch
1225
1226 meta = func_metadata(fn)
1227 irr = InputRequiredResult(request_state="opaque")

Callers 5

_wrappedFunction · 0.85
create_resourceMethod · 0.85
readMethod · 0.85
renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected