code: def _apply():
      # apply patch in a function, to be able to easily patch it out
      # and turn off the patch
      lgr.debug(
          "Apply RIA patch to clone.py:_post_git_init_processing_"
      )
      mod_clone._post_git_init_processing_ = _post_git_init_processing_
      lgr.debug("Apply RIA patch to clone.py:_pre_final_processing_")
      mod_clone._pre_final_processing_ = _pre_final_processing_
  
imports: import logging
  from typing import Dict
  from datalad.distribution.dataset import Dataset
  from .clone_utils import postclone_preannex_cfg_ria, postclonecfg_ria
  from .None import clone
label_desc: Use image node_id 3 for calling a global function with example usage: _apply() without return types