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