code: def write_version_file(version: Version) -> None:
      """Dump a new version into the python version file."""
  
      with version_file_path().open("w") as f:
          f.write(
              f"# this file will automatically be changed,\n"
              f"# do not add anything but the version number here!\n"
              f'__version__ = "{version}"\n'
          )
      check_call(["git", "add", str(version_file_path().absolute())])
  
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 5 for calling a global function with example usage: write_version_file(version) without return types