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

Function close

tests/shared/conftest.py:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 client, server = create_direct_dispatcher_pair(can_send_request=can_send_request)
25
26 def close() -> None:
27 client.close()
28 server.close()
29
30 return client, server, close
31

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected