code: def model_archiver():
      loader = importlib.machinery.SourceFileLoader(
          "archiver",
          os.path.join(
              REPO_ROOT_DIR,
              "model-archiver",
              "model_archiver",
              "model_packaging.py",
          ),
      )
      spec = importlib.util.spec_from_loader("archiver", loader)
      archiver = importlib.util.module_from_spec(spec)
  
      sys.modules["archiver"] = archiver
  
      loader.exec_module(archiver)
  
      yield archiver
  
      del sys.modules["archiver"]
  
file_path: serve/test/pytest/conftest.py
imports: import importlib
  import os
  import shutil
  import sys
  import pytest
  import test_utils
label_desc: Use image node_id 1 for calling a global function with example usage: model_archiver() without return types