MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / get_version

Function get_version

uncommon_route/version.py:30–38  ·  view source on GitHub ↗

Return the package version from the active source of truth.

()

Source from the content-addressed store, hash-verified

28
29
30def get_version() -> str:
31 """Return the package version from the active source of truth."""
32 source_version = _version_from_pyproject()
33 if source_version is not None:
34 return source_version
35 try:
36 return metadata_version("uncommon-route")
37 except PackageNotFoundError:
38 return "0.0.0"
39
40
41VERSION = get_version()

Callers 3

_package_versionFunction · 0.90
version.pyFile · 0.85

Calls 1

_version_from_pyprojectFunction · 0.85

Tested by 1