code: def update_version(new_version_tuple) -> None:
      """
      given the current version, update the version to the
      next version depending on the type of release.
      """
  
      with open("fairscale/version.py", "r") as reader:
          current_version_data = reader.read()
  
      # for line in current_version_data:
      version_match = re.search(
          r"^__version_tuple__ ", current_version_data
      )
  
      if version_match:
          new_version_data = "__version_tuple__ = %s\n" % str(
              new_version_tuple
          )
          current_version_data = current_version_data.replace(
              version_match.string, new_version_data
          )
  
          with open("fairscale/version.py", "w") as writer:
              writer.write(current_version_data)
      else:
          raise RuntimeError(
              "__version_tuple__ not found in version.py"
          )
  
imports: import argparse
  import re
  from typing import Tuple
  from setup import find_version
label_desc: Use image node_id 2 for calling a global function with example usage: update_version(new_version_tuple) without return types