code: def _asyncify(f):
      """Wrap a blocking call in a coroutine
  
      Does not make the call non-blocking,
      just conforms to the API assuming it is awaitable.
      For use when patching-in replacement methods.
      """
  
      async def async_f(*args, **kwargs):
          return f(*args, **kwargs)
  
      return async_f
  
imports: import time
  from contextlib import contextmanager
  import inspect
  import re
  import sys
  from textwrap import dedent
  from IPython.core import magic_arguments
  from IPython.core.error import UsageError
  from IPython.core.magic import Magics, no_var_expand
  import ipyparallel
  from ..None import error
label_desc: Use image node_id 3 for calling a global function with example usage: _asyncify(f) and returns: async_f, f