code: def patch_joblib():
      # try manually
      PatchedJoblib._patch_joblib()
      # register callback
      PostImportHookPatching.add_on_import(
          "joblib", PatchedJoblib._patch_joblib
      )
      PostImportHookPatching.add_on_import(
          "sklearn", PatchedJoblib._patch_joblib
      )
  
imports: import sys
  import warnings
  from functools import partial
  import six
  from pathlib2 import Path
  from .import_bind import PostImportHookPatching
  from ..binding.frameworks import _patched_call, _Empty, WeightsFileHandler
  from ..config import running_remotely
  from ..debugging.log import LoggerRoot
  from ..model import Framework
  from ..utilities.lowlevel.file_access import get_filename_from_file_object, buffer_writer_close_cb
label_desc: Use image node_id 1 for calling the PatchedJoblib obj's underlying member method code with example usage: obj.patch_joblib() without return types