code: def warn(msg):
      # type: (str) -> None
      warnings.simplefilter(
          "always", DeprecationWarning
      )  # turn off filter
      warnings.warn(msg, category=DeprecationWarning, stacklevel=2)
      warnings.simplefilter("default", DeprecationWarning)
  
file_path: wandb/wandb/vendor/promise-2.3.0/wandb_promise/utils.py
imports: import functools
  import inspect
  import types
  import warnings
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: warn(msg) without return types