code: def update_tensorflow_bzl(old_version, new_version):
      """Update tensorflow.bzl."""
      old_mmp = "%s.%s.%s" % (
          old_version.major,
          old_version.minor,
          old_version.patch,
      )
      new_mmp = "%s.%s.%s" % (
          new_version.major,
          new_version.minor,
          new_version.patch,
      )
      replace_string_in_line(
          'VERSION = "%s"' % old_mmp,
          'VERSION = "%s"' % new_mmp,
          TENSORFLOW_BZL,
      )
  
imports: import argparse
  import os
  import re
  import subprocess
  import time
label_desc: Use image node_id 8 for calling a global function with example usage: update_tensorflow_bzl(old_version, new_version) without return types