MCPcopy Create free account
hub / github.com/modelscope/modelscope / get_version

Function get_version

docs/source/conf.py:27–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26
27def get_version():
28 with open(version_file, 'r', encoding='utf-8') as f:
29 exec(compile(f.read(), version_file, 'exec'))
30 return locals()['__version__']
31
32
33# The full version, including alpha/beta/rc tags

Callers 1

conf.pyFile · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…