code: def alias_deprecation(func, alias: str):
      original = func.__name__
  
      @functools.wraps(func)
      def wrapped(*args, **kwargs):
          raise FutureWarning(
              f"The function `{alias}` from PyMC was an alias for `{original}` from ArviZ. "
              "It was removed in PyMC 4.0. "
              f"Switch to `pymc.{original}` or `arviz.{original}`."
          )
  
      return wrapped
  
imports: import functools
  import sys
  import warnings
  import arviz
label_desc: Use image node_id 1 for calling a global function with example usage: alias_deprecation(func, alias) and returns: wrapped