code: def deprecated(func):
      @wraps(func)
      def wrapper(*args, **kwargs):
          logger.warning(
              msg=f"Usage of {func.__qualname__} is deprecated!"
          )
          return func(*args, **kwargs)
  
      return wrapper
  
label_desc: Use image node_id 1 for calling a global function with example usage: deprecated(func) and returns: wrapper, func