MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / get_version

Function get_version

setup.py:14–18  ·  view source on GitHub ↗

Return the version tuple as a string, e.g. for (0, 10, 7), return '0.10.7'.

(version_tuple)

Source from the content-addressed store, hash-verified

12
13
14def get_version(version_tuple):
15 """Return the version tuple as a string, e.g. for (0, 10, 7),
16 return '0.10.7'.
17 """
18 return ".".join(map(str, version_tuple))
19
20
21# Dirty hack to get version number from monogengine/__init__.py - we can't

Callers 1

setup.pyFile · 0.70

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected