Skip to content

Commit

Permalink
Remove ABC usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakeway committed Jan 17, 2019
1 parent 1650fac commit a08e4ac
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cache_helper/interfaces.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
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,
get_cache_helper_key should return the same key. This key should be unique to all objects
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

0 comments on commit a08e4ac

Please sign in to comment.