docs: def get_version(mod, default="0.0.0"):
      """
      :param module|str mod: Module, or module name to find version for (pass either calling module, or its .__name__)
      :param str default: Value to return if version determination fails
      :return str: Determined version
      """
      name = mod
      if hasattr(mod, "__name__"):
          name = mod.__name__
  
      try:
          import pkg_resources
  
          return pkg_resources.get_distribution(name).version
  
      except Exception as e:
          LOG.warning("Can't determine version for %s: %s", name, e, exc_info=e)
          return default