code: def load_from_file(cls, path: Path) -> BenchmarkRun:
      with open(path, "r") as f:
          return cls.load_from(json.load(f))
  
file_path: arrow-datafusion/benchmarks/compare.py
imports: from __future__ import annotations
  import json
  from dataclasses import dataclass
  from typing import Dict, List, Any
  from pathlib import Path
  from argparse import ArgumentParser
label_desc: Use image node_id 2 for calling the BenchmarkRun obj's underlying member method code with example usage: obj.load_from_file(cls, path) and returns: cls