code: def __init__(
      self, disk_root: Union[str, pathlib.Path] = "~/.textless/"
  ):
      self.disk_root = pathlib.Path(disk_root).expanduser().resolve()
      if not self.disk_root.exists():
          self.disk_root.mkdir()
  
      self.storage: dict[str, Checkpoint] = {}
  
file_path: textlesslib/textless/checkpoint_manager/manager.py
imports: from typing import Union
  from dataclasses import dataclass
  from torch.hub import download_url_to_file
  import pathlib
label_desc: Use image node_id 1 to create a new CheckpointManager object  with example: obj = CheckpointManager(disk_root)