MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / _get_version

Function _get_version

src/pyspector/reporting.py:31–36  ·  view source on GitHub ↗

Return installed PySpector version dynamically.

()

Source from the content-addressed store, hash-verified

29
30
31def _get_version():
32 """Return installed PySpector version dynamically."""
33 try:
34 return importlib.metadata.version("pyspector")
35 except importlib.metadata.PackageNotFoundError:
36 return "dev"
37
38
39_PYSPECTOR_VERSION = _get_version()

Callers 1

reporting.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected