code: def deprecated(message):
      """Prints a warning message related to the deprecation of some igraph
      feature."""
      warn(message, DeprecationWarning, stacklevel=3)
  
imports: from contextlib import contextmanager
  from collections.abc import MutableMapping
  from itertools import chain
  from warnings import warn
  import os
  import tempfile
label_desc: Use image node_id 1 for calling a global function with example usage: deprecated(message) without return types