code: def part_size(self, part: int) -> int:
      if not 0 <= part < self.num_parts:
          raise ValueError(f"{part} not in [0, {self.num_parts})")
      return self.part_end(part) - self.part_start(part)
  
file_path: PyTorch-BigGraph/torchbiggraph/converters/dictionary.py
imports: import math
  from typing import Dict, List, Tuple
label_desc: Use image node_id 7 for calling the Dictionary obj's underlying member method code with example usage: obj.part_size(part) and returns: unknown