

def get_object(self, index, constructor, **kwargs):
    try:
        obj = self[index]
    except KeyError:
        obj = constructor(**kwargs)
        self[self] = obj
    return obj

dataset/ETHPy150Open kdart/pycopia/aid/pycopia/dictlib.py ObjectCache.get_object/VarMisuse@44/49 `index`->`self`