Source code for test_automation.version

#
# SPDX-FileCopyrightText: <text>Copyright 2025 Arm Limited and/or its
# affiliates <open-source-office@arm.com></text>
#
# SPDX-License-Identifier: MIT

from importlib.metadata import version, PackageNotFoundError


[docs] def get_version() -> str: """ Resolve the installed package version. :returns: Resolved version string, or ``"0.0.0.dev0"`` if unavailable. """ try: return version("arm-automotive-test-automation-framework") except PackageNotFoundError: return "0.0.0.dev0"