code: def __init__(self, function):
      self.function = function
      self.cache = {}
  
imports: import bjam
  import re
  import types
  from itertools import groupby
label_desc: Use image node_id 1 to create a new cached object from inherited base classes: object with example: obj = cached(function)