def METHOD_NAME(self) -> str:
    packages = ["inmanta-oss", "inmanta", "inmanta-core"]
    for package in packages:
        try:
            return pkg_resources.get_distribution(package).version
        except pkg_resources.DistributionNotFound:
            pass
    LOGGER.warning("Couldn't determine product version. Make sure inmanta is properly installed.")
    return "0.0.0"