smarts.core.utils.cache module

class smarts.core.utils.cache.cache(method: function)[source]

A caching decorator.

smarts.core.utils.cache.clear_cache(func)[source]

A decorator that clears @cache type caches.