code: def build_namespace(test):
      keys = [
          "model-name",
          "model-file",
          "serialized-file",
          "handler",
          "extra-files",
          "archive-format",
          "version",
          "export-path",
          "runtime",
          "requirements-file",
          "config-file",
          "force",
      ]
      test["requirements-file"] = None
      test["config-file"] = None
      test["force"] = test.get("force", False)
      test["runtime"] = test.get("runtime", DEFAULT_RUNTIME)
      test["archive-format"] = test.get("archive-format", "default")
  
      args = Namespace(**{k.replace("-", "_"): test[k] for k in keys})
  
      config = model_archiver.ModelArchiverConfig.from_args(args)
  
      return config
  
imports: import errno
  import json
  import os
  import platform
  import shutil
  import tempfile
  import time
  from argparse import Namespace
  from datetime import datetime
  from pathlib import Path
  import model_archiver
label_desc: Use image node_id 12 for calling a global function with example usage: build_namespace(test) and returns: config