code: def _warn_once() -> str:
      if log_once("log_dedup_warning"):
          return (
              " (Ray deduplicates logs by default. Set RAY_DEDUP_LOGS=0 to "
              "disable log deduplication, or see https://docs.ray.io/en/master/"
              "ray-observability/ray-logging.html#log-deduplication for more options.)"
          )
      else:
          return ""
  
imports: import colorama
  from dataclasses import dataclass
  import logging
  import os
  import re
  import sys
  import threading
  import time
  from typing import Callable, Dict, List, Set, Tuple, Any, Optional
  import ray
  from ray.experimental.tqdm_ray import RAY_TQDM_MAGIC
  from ray._private.ray_constants import RAY_DEDUP_LOGS, RAY_DEDUP_LOGS_AGG_WINDOW_S, RAY_DEDUP_LOGS_ALLOW_REGEX, RAY_DEDUP_LOGS_SKIP_REGEX
  from ray.util.debug import log_once
label_desc: Use image node_id 7 for calling a global function with example usage: _warn_once() and returns: str, str