Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/modelcontextprotocol/python-sdk
/ initialize
Method
initialize
tests/client/test_probe.py:64–65 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
62
return
step
63
64
async
def
initialize(self) -> None:
65
self.initialized = True
66
67
def
adopt(self, result: types.DiscoverResult) -> None:
68
self.adopted = result
Callers
15
unicode_session
Function · 0.45
test_client_session_initialize
Function · 0.45
test_client_session_custom_client_info
Function · 0.45
test_client_session_default_client_info
Function · 0.45
test_client_session_version_negotiation_success
Function · 0.45
test_client_session_version_negotiation_failure
Function · 0.45
test_client_capabilities_default
Function · 0.45
test_client_capabilities_with_custom_callbacks
Function · 0.45
test_client_capabilities_with_sampling_tools
Function · 0.45
test_initialize_result
Function · 0.45
test_client_tool_call_with_meta
Function · 0.45
test_initialize_opts_out_of_cancel_on_abandon_while_other_requests_leave_it_unset
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected