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

Function get_version

mongoengine/__init__.py:35–40  ·  view source on GitHub ↗

Return the VERSION as a string. For example, if `VERSION == (0, 10, 7)`, return '0.10.7'.

()

Source from the content-addressed store, hash-verified

33
34
35def get_version():
36 """Return the VERSION as a string.
37
38 For example, if `VERSION == (0, 10, 7)`, return '0.10.7'.
39 """
40 return ".".join(map(str, VERSION))
41
42
43__version__ = get_version()

Calls 1

joinMethod · 0.80