MCPcopy Create free account
hub / github.com/IBM/mcp-cli / sync_callback

Method sync_callback

tests/planning/test_executor.py:1189–1190  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1187 @pytest.mark.asyncio
1188 async def test_sync_callback_result(self):
1189 def sync_callback(x):
1190 return x * 2
1191
1192 result = await _maybe_await(sync_callback(5))
1193 assert result == 10

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected