class_docstr: A simple cache that updates its stats upon checking (not retrieval)
      
class_docstr_tok: ["A","simple","cache","that","updates","its","stats","upon","checking","(","not","retrieval",")"]
code: def __getitem__(self, key):
      if key in self._cache:
          return self._cache[key]
      raise KeyError(key)
  
file_path: baikal/baikal/_core/utils.py
imports: from typing import Union, Any, List, Tuple
label_desc: Use image node_id 3 for calling the SimpleCache obj's underlying member method code with example usage: obj.__getitem__(key) and returns: self