code: def _style_tb_for_dark_mode(upstream, env, start_resp):
      return _apply_middleware_to_plain_text(
          _insert_dark_mode_styles, upstream, env, start_resp
      )
  
imports: import logging
  import os
  import socket
  import time
  import warnings
  from guild import util
label_desc: Use image node_id 26 for calling a global function with example usage: _style_tb_for_dark_mode(upstream, env, start_resp) and returns: _apply_middleware_to_plain_text