code: def _format_exc(exc):
      import traceback
  
      return "".join(traceback.format_tb(exc.__traceback__))
  
imports: import argparse
  import logging
  import time
  from guild import _api
  from guild import util
  from .None import gen_queue
label_desc: Use image node_id 18 for calling a global function with example usage: _format_exc(exc) and returns: str