From a08e4acfbee3f1ef87a402cf111892722e916acf Mon Sep 17 00:00:00 2001 From: jakeway Date: Thu, 17 Jan 2019 15:22:07 -0500 Subject: [PATCH] Remove ABC usage. --- cache_helper/interfaces.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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