class_docstr: Base class for indexing
class_docstr_tok: ["Base","class","for","indexing"]
docstr: Deserialize the index from disk
docstr_tok: ["Deserialize","the","index","from","disk"]
code: def load(cls, file: Union[str, PurePath]) -> "BaseIndex":
      """Deserialize the index from disk"""
      raise NotImplementedError
  
imports: import importlib.util
  import os
  import tempfile
  from pathlib import PurePath
  from typing import TYPE_CHECKING, Dict, List, NamedTuple, Optional, Union
  import fsspec
  import numpy
  from .utils import logging
  from .utils import tqdm
label_desc: Use image node_id 4 for calling the BaseIndex obj's underlying member method code with example usage: obj.load(cls, file) without return types