code: def unwrap_partial(func):
      while hasattr(func, "func"):
          func = func.func
      return func
  
imports: import math
  import numbers
  from enum import Enum
  from flash.core.serve.dag.task import flatten, get, get_dependencies, ishashable, istask, reverse_dict, subs, toposort
  from flash.core.serve.dag.utils import key_split
  from flash.core.utilities.imports import _TOPIC_SERVE_AVAILABLE
label_desc: Use image node_id 7 for calling a global function with example usage: unwrap_partial(func) and returns: func