code: def unpartial(fn):
      while hasattr(fn, "func"):
          fn = fn.func
  
      return fn
  
file_path: mars/mars/lib/aio/lru.py
imports: import asyncio
  import os
  import weakref
  from collections import OrderedDict
  from functools import _CacheInfo, _make_key, partial, wraps
label_desc: Use image node_id 2 for calling a global function with example usage: unpartial(fn) and returns: fn