code: def update_m1_builds(old_version, new_version):
      """Update M1 builds."""
      replace_string_in_line(
          "RELEASE_BRANCH = 'r%s.%s'"
          % (old_version.major, old_version.minor),
          "RELEASE_BRANCH = 'r%s.%s'"
          % (new_version.major, new_version.minor),
          TF_MAC_ARM64_CI_BUILD,
      )
      replace_string_in_line(
          "RELEASE_BRANCH = 'r%s.%s'"
          % (old_version.major, old_version.minor),
          "RELEASE_BRANCH = 'r%s.%s'"
          % (new_version.major, new_version.minor),
          TF_MAC_ARM64_CI_TEST,
      )
  
imports: import argparse
  import os
  import re
  import subprocess
  import time
label_desc: Use image node_id 9 for calling a global function with example usage: update_m1_builds(old_version, new_version) without return types