code: def wrapped_partial(func, *args, **kwargs):
      partial_func = partial(func, *args, **kwargs)
      update_wrapper(partial_func, func)
      return partial_func
  
imports: import os
  import json
  import random
  import tempfile
  import filelock
  import contextlib
  import numpy
  import SimpleITK
  from collections.abc import Iterable
  from urllib.parse import urlparse, unquote
  from functools import partial, update_wrapper
  import paddle
  from medicalseg.utils import logger, seg_env
  from medicalseg.utils.download import download_file_and_uncompress
label_desc: Use image node_id 9 for calling a global function with example usage: wrapped_partial(func) and returns: partial_func