wallaroo.version

 1import sys
 2from importlib.metadata import version as v
 3
 4# This ternary allows us to run pytest without installing the module.
 5__version__ = (
 6    v(__package__)
 7    if "pytest" not in sys.modules and "unittest" not in sys.modules
 8    else "0.0.0"
 9)
10
11
12_user_agent = f"WallarooSDK/{__version__}"