code: def _run_name_cb(args):
      if args.run_name_flags is None:
          return None
  
      label_template = _run_label_template(args.run_name_flags)
  
      def f(run):
          flags = run.get("flags")
          return run_util.run_name(
              run, _run_label(label_template, flags)
          )
  
      return f
  
imports: import csv
  import logging
  import os
  import re
  import sys
  import time
  from guild import batch_util
  from guild import cli
  from guild import op_util
  from guild import run_util
  from guild import tfevent
  from guild import util
  from .None import runs_impl
label_desc: Use image node_id 10 for calling a global function with example usage: _run_name_cb(args) and returns: f, None, run_util