code: def wrap(func):
      @functools.wraps(
          func,
          assigned=(
              "__name__",
              "__qualname__",
              "__doc__",
              "__annotations__",
          ),
      )
      def inner(*args, **kwargs):
          with sparse_context():
              return func(*args, **kwargs)
  
      return inner
  
label_desc: Use image node_id 1 for calling a global function with example usage: wrap(func) and returns: inner, func