code: def make_beam_labels_args() -> List[str]:
      """Make Beam arguments for common labels used in TFX pipelines.
  
      Returns:
        New Beam pipeline args with labels.
      """
      labels = make_labels_dict()
      # See following file for reference to the '--labels ' flag.
      # https://github.com/apache/beam/blob/master/sdks/python/apache_beam/options/pipeline_options.py
      result = []
      for k in sorted(labels):
          result.extend(["--labels", "%s=%s" % (k, labels[k])])
      return result
  
file_path: tfx/tfx/utils/telemetry_utils.py
imports: import contextlib
  import functools
  import re
  import sys
  import threading
  from typing import Dict, List, Any, Callable
  from absl import logging
  from googleapiclient import http
  from tfx import version
label_desc: Use image node_id 4 for calling a global function with example usage: make_beam_labels_args() and returns: result