Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LaunchPlatform/beanhub-cli
/ get_cli_version
Function
get_cli_version
beanhub_cli/http_client.py:13–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
12
@lru_cache
13
def
get_cli_version() -> str:
14
try
:
15
return
version(PACKAGE_NAME)
16
except
PackageNotFoundError:
17
return
"unknown"
18
19
20
def
get_client_headers() -> dict[str, str]:
Callers
1
get_client_headers
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected