code: def config_logging():
      """Overrides logging to go through TQDM.
  
      TODO use this call to kill then restore:
      https://github.com/tqdm/tqdm#redirecting-writing
  
      """
      h = logging.get_absl_handler()
      old = h.python_handler
      h._python_handler = logging.PythonHandler(
          stream=TqdmFile(sys.stderr)
      )
      logging.use_python_logging()
  
file_path: caliban/caliban/util/tqdm.py
imports: import contextlib
  import sys
  from absl import logging
  from blessings import Terminal
  import tqdm
  from tqdm.utils import _term_move_up
label_desc: Use image node_id 1 for calling a global function with example usage: config_logging() without return types