docstr: Load result metadata from disk.
  
  :param path: Path to result directory on disk.
docstr_tok: ["Load","result","metadata","from","disk",".",":","param","path",":","Path","to","result","directory","on","disk","."]
code: def _load_metadata(self, result_dir: Path) -> str:
      """Load result metadata from disk.
  
      :param path: Path to result directory on disk.
      """
      id_path = result_dir / SerializationAttributes.ID_FILENAME
      with open(id_path, "r") as f:
          self.id = json.load(f)[SerializationAttributes.ID_KEY]
  
      version_path = (
          result_dir / SerializationAttributes.VERSION_FILENAME
      )
      with open(version_path, "r") as f:
          self.version = json.load(f)[
              SerializationAttributes.VERSION_KEY
          ]
  
imports: import json
  from abc import ABC, abstractmethod
  from pathlib import Path
  from typing import Any, Generic, List, TypeVar, Union
  import jsonschema
  from raiutils.data_processing import serialize_json_safe
  from responsibleai._internal.constants import SerializationAttributes
  from responsibleai._tools.shared.attribute_serialization import load_attributes, save_attributes
label_desc: Use image node_id 6 for calling the BaseResult obj's underlying member method code with example usage: obj._load_metadata(result_dir) without return types