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:2699–2703 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2697
2698
2699
def
get_python_runtime() -> str:
2700
try
:
2701
return
platform.python_implementation()
2702
except
Exception:
2703
return
"unknown"
2704
2705
2706
def
get_python_version() -> str:
Callers
1
platform_headers
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected