code: def from_json(
      cls: Type["_SavedModel"],
      json_obj: dict,
      source_artifact: "Artifact",
  ) -> "_PicklingSavedModel":
      backup_path = [p for p in sys.path]
      if (
          "dep_py_files_path" in json_obj
          and json_obj["dep_py_files_path"] is not None
      ):
          dl_path = _load_dir_from_artifact(
              source_artifact, json_obj["dep_py_files_path"]
          )
          assert dl_path is not None
          sys.path.append(dl_path)
      inst = super().from_json(json_obj, source_artifact)  # type: ignore
      sys.path = backup_path
  
      return inst
  
imports: import os
  import shutil
  import sys
  from typing import TYPE_CHECKING, Any, ClassVar, Generic, List, Optional, Type, TypeVar, Union, cast
  import wandb
  from wandb import util
  from wandb.sdk.lib import runid
  from wandb.sdk.lib.hashutil import md5_file_hex
  from wandb.sdk.lib.paths import LogicalPath
  from ._private import MEDIA_TMP
  from .base_types.wb_value import WBValue
label_desc: Use image node_id 2 for calling the _PicklingSavedModel obj's underlying member method code with example usage: obj.from_json(cls, json_obj, source_artifact) and returns: inst