Get GraphLite version
()
| 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" |
no test coverage detected