src/pyams_utils/interfaces/__init__.py
changeset 99 2d076b2b485a
parent 98 2bc1e87c3155
child 104 1bdfe52659d7
--- a/src/pyams_utils/interfaces/__init__.py	Tue Jun 20 16:40:40 2017 +0200
+++ b/src/pyams_utils/interfaces/__init__.py	Wed Jul 12 13:55:47 2017 +0200
@@ -18,6 +18,7 @@
 # import interfaces
 
 # import packages
+from zope.interface import Interface
 
 
 #
@@ -65,3 +66,7 @@
 
 class MissingRequestError(Exception):
     """Error raised when no request is available"""
+
+
+class ICacheKeyValue(Interface):
+    """Interface used to get string representation of a given object as cache key"""