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

Function _negotiate

tests/client/test_probe.py:71–73  ·  view source on GitHub ↗

Drive `negotiate_auto` against the stub; cast at one seam so the tests stay suppression-free.

(session: _StubSession)

Source from the content-addressed store, hash-verified

69
70
71async def _negotiate(session: _StubSession) -> None:
72 """Drive `negotiate_auto` against the stub; cast at one seam so the tests stay suppression-free."""
73 await negotiate_auto(cast("ClientSession", session))
74
75
76def _discover_dict(versions: list[str] | None = None) -> dict[str, Any]:

Calls 1

negotiate_autoFunction · 0.90

Tested by

no test coverage detected