Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ get_python_runtime
Function
get_python_runtime
src/anthropic/_base_client.py:2710–2714 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2708
2709
2710
def
get_python_runtime() -> str:
2711
try
:
2712
return
platform.python_implementation()
2713
except
Exception:
2714
return
"unknown"
2715
2716
2717
def
get_python_version() -> str:
Callers
1
platform_headers
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected