code: def _patched_call_no_recursion_guard(original_fn, patched_fn):
      def _inner_patch(*args, **kwargs):
          return patched_fn(original_fn, *args, **kwargs)
  
      return _inner_patch
  
imports: import os
  import shutil
  import sys
  import threading
  from enum import Enum
  from random import randint
  from tempfile import mkstemp
  from typing import TYPE_CHECKING, Callable, Dict, Optional, Any, Union
  import six
  from pathlib2 import Path
  from ...backend_interface.model import Model
  from ...config import running_remotely
  from ...debugging.log import get_logger
  from ...model import InputModel, OutputModel
label_desc: Use image node_id 2 for calling a global function with example usage: _patched_call_no_recursion_guard(original_fn, patched_fn) and returns: _inner_patch, patched_fn