code: def get_current_version() -> Text:
      """Return the current library version."""
  
      if not version_file_path().is_file():
          raise FileNotFoundError(
              f"Failed to find version file at {version_file_path().absolute()}"
          )
  
      # context in which we evaluate the version py -
      # to be able to access the defined version, it already needs to live in the
      # context passed to exec
      _globals = {"__version__": ""}
      with version_file_path().open() as f:
          exec(f.read(), _globals)
  
      return _globals["__version__"]
  
imports: import argparse
  import os
  import re
  import sys
  from pathlib import Path
  from subprocess import CalledProcessError, check_call, check_output
  from typing import Text, Set
  import questionary
  import toml
  from pep440_version_utils import Version, is_valid_version
label_desc: Use image node_id 7 for calling a global function with example usage: get_current_version() and returns: _globals