code: def _unwrap_partial(func):
      while isinstance(func, partial):
          func = func.func
      return func
  
imports: from abc import get_cache_token
  from collections import namedtuple
  from reprlib import recursive_repr
  from _thread import RLock
  from types import GenericAlias
label_desc: Use image node_id 18 for calling a global function with example usage: _unwrap_partial(func) and returns: func