# HG changeset patch # User Thierry Florac # Date 1499860547 -7200 # Node ID 2d076b2b485a71135fd06579423410b8205af66b # Parent 2bc1e87c31553dbc956fb19491fa7c2b3c2a9a6e Added ICacheKeyValue interface diff -r 2bc1e87c3155 -r 2d076b2b485a src/pyams_utils/interfaces/__init__.py --- 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"""