code: def warn_once(message):
      """
      Write a warning message only once.
      """
      warn(message)
  
file_path: norfair/norfair/utils.py
imports: import os
  from functools import lru_cache
  from logging import warn
  from typing import Sequence, Tuple
  import numpy
  from rich import print
  from rich.console import Console
  from rich.table import Table
label_desc: Use image node_id 6 for calling a global function with example usage: warn_once(message) without return types