code: def _maybe_raise_value_error(error_msg):
      logger.warning(
          "In 3.0, this warning will become an error:\n%s" % error_msg
      )
  
file_path: tensorboard/tensorboard/backend/security_validator.py
imports: import dataclasses
  from typing import Collection
  from werkzeug.datastructures import Headers
  from werkzeug import http
  from tensorboard.util import tb_logging
label_desc: Use image node_id 1 for calling a global function with example usage: _maybe_raise_value_error(error_msg) without return types