euporie.core.widgets.cell_outputs.SimpleCache

class euporie.core.widgets.cell_outputs.SimpleCache(maxsize: int = 8)

Very simple cache that discards the oldest item when the cache size is exceeded.

Parameters:

maxsize – Maximum size of the cache. (Don’t make it too big.)