Files
anders 16c54c6653 Tilføjet venv med docling og afhængigheder
Testfiler opdelt i PNG og previews
2026-10-27 12:20:23 +01:00

16 lines
303 B
Python

import functools
@functools.cache
def has_helion_package() -> bool:
try:
import helion # type: ignore[import-untyped, import-not-found] # noqa: F401
except ImportError:
return False
return True
@functools.cache
def has_helion() -> bool:
return has_helion_package()