MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / version

Method version

bindings/python/graphlite/graphlite.py:367–374  ·  view source on GitHub ↗

Get GraphLite version

()

Source from the content-addressed store, hash-verified

365
366 @staticmethod
367 def version() -> str:
368 """Get GraphLite version"""
369 version_ptr = _lib.graphlite_version()
370 if version_ptr:
371 # Don't free - version() returns a static string
372 version = ctypes.string_at(version_ptr).decode('utf-8')
373 return version
374 return "unknown"

Callers 2

runExampleMethod · 0.95
mainFunction · 0.45

Calls 1

graphlite_versionMethod · 0.80

Tested by

no test coverage detected