code: def get_version(short=False):
      """
      Prints the version.
      """
      assert __version_info__["releaselevel"] in (
          "alpha",
          "beta",
          "final",
      )
      vers = ["{major}.{minor}".format(**__version_info__)]
  
      if __version_info__["micro"]:
          vers.append(".{micro}".format(**__version_info__))
  
      if __version_info__["releaselevel"] != "final" and not short:
          vers.append(
              "{}{}".format(
                  __version_info__["releaselevel"][0],
                  __version_info__["serial"],
              )
          )
  
      if __version_info__["post"]:
          vers.append(".post{}".format(__version_info__["post"]))
  
      return "".join(vers)
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_version(short) and returns: str