diff --git a/cache_helper/interfaces.py b/cache_helper/interfaces.py index efcedd2..bfa5059 100644 --- a/cache_helper/interfaces.py +++ b/cache_helper/interfaces.py @@ -1,8 +1,4 @@ -import abc - - -class CacheHelperCacheable(abc.ABC): - @abc.abstractmethod +class CacheHelperCacheable: def get_cache_helper_key(self): """ For any two objects of the same class which are considered equal in your application, @@ -10,4 +6,4 @@ def get_cache_helper_key(self): considered equal. This key will be used as a component to the final cache key to get/set values from the cache. The key should be a string. """ - pass + raise NotImplementedError