code: def print_invocation_results(result_store_dict: ResultDictType):
      """Prints out a short summary of the found ResultStore links (if any)."""
      print()
      if not result_store_dict:
          print(
              "Found no ResultStore links for Bazel build/test invocations."
          )
      else:
          print(
              f"Found {len(result_store_dict)} ResultStore link(s) for "
              f"Bazel invocations.\n"
              f"ResultStore contains individual representations of each target "
              f"that were run/built during the invocation.\n"
              f"These results are generally easier to read than looking through "
              f"the entire build log:\n"
          )
      i = 1
      for url, invocation_results in result_store_dict.items():
          line_str = (
              f'Invocation #{i} ({invocation_results["status"]}):\n'
          )
          command = invocation_results.get("command")
          if command:
              line_str += command
          else:
              line_str += (
                  "Couldn't parse the bazel command, "
                  "check inside the build log instead"
              )
          line_str += f"\n{url}\n"
          print(line_str)
          i += 1
  
file_path: tensorflow-upstream/ci/official/utilities/extract_resultstore_links.py
imports: import argparse
  import datetime
  import os
  import re
  from typing import Dict, Union
  import xml.etree.ElementTree
label_desc: Use image node_id 5 for calling a global function with example usage: print_invocation_results(result_store_dict) without return types