code: def __init__(self, max_size: Optional[int] = None) -> None:
      self.max_size = max_size or self.default_max_size
      super().__init__()
  
file_path: wandb/wandb/sdk/lib/capped_dict.py
imports: import collections
  from typing import Any, Optional
label_desc: Use image node_id 1 to create a new CappedDict object from inherited base classes: collections with example: obj = CappedDict(max_size)