code: def _load_callwraps(packname, package):
      
      global _callwraps
      from acorn.config import settings
      from acorn.logging.descriptors import _obj_getattr
      spack = settings(packname)
      if spack is not None:
          if spack.has_section("callwrap"):
              wrappings = dict(spack.items("callwrap"))
              for fqdn, target in wrappings.items():
                  caller = _obj_getattr(package, target)
                  _callwraps[fqdn] = caller
docs: Loads the special call wrapping settings for functions in the specified
      package. This allows the result of the original method call to be cast as a
      different type, or passed to a different constructor before returning from
      the wrapped function.
  
      Args:
          packname (str): name of the package to get config settings for.
          package: actual package object.