code: def flag_assigns(flags, truncate_floats=False, shorten_paths=False):
      """Returns a list of formatted flags for a map of flags.
  
      Formatted flags are sorted by flag name and have the form
      NAME=FORMATTED_VALUE.
      """
      return [
          flag_assign(name, val, truncate_floats, shorten_paths)
          for name, val in sorted(flags.items())
      ]
  
imports: import logging
  import os
  import re
  import yaml
  from guild import util
  from guild import yaml_util
label_desc: Use image node_id 34 for calling a global function with example usage: flag_assigns(flags, truncate_floats, shorten_paths) and returns: unknown