code: def add_checkpoint(self, checkpoint: Checkpoint) -> None:
      name = checkpoint.name
      assert name not in self.storage
      self.storage[name] = 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 2 for calling the CheckpointManager obj's underlying member method code with example usage: obj.add_checkpoint(checkpoint) without return types