code: def from_disk(path: Path) -> "SerDe":
      """Load obj from `path` directory"""
      # load metadata
      meta = _Meta.from_disk(path)
      kls = _get_class(meta.module_name, meta.class_name)
      if not isinstance(kls, SerDe):
          raise ValueError(
              f"Invalid class loaded: `{kls}` doesn't implement SerDe"
          )
      # delegate to kls
      return kls.from_disk(path)
  
imports: from dataclasses import dataclass, asdict
  import importlib
  import dataclass_utils.error
  import pickle
  from pathlib import Path
  from typing import Any, ClassVar, List, Tuple, Type, TypeVar
  import dataclass_utils
  from typing_extensions import Protocol, runtime_checkable
  import json
label_desc: Use image node_id 2 for calling a global function with example usage: from_disk(path) and returns: kls