src/pyams_utils/interfaces/__init__.py
changeset 181 17f98772891e
parent 106 54e93dca854d
child 183 5e239a213d1d
equal deleted inserted replaced
180:1bb9673c3be1 181:17f98772891e
    99 
    99 
   100 class MissingRequestError(Exception):
   100 class MissingRequestError(Exception):
   101     """Error raised when no request is available"""
   101     """Error raised when no request is available"""
   102 
   102 
   103 
   103 
       
   104 class IObjectFactory(Interface):
       
   105     """Object factory interface"""
       
   106 
       
   107 
   104 class ICacheKeyValue(Interface):
   108 class ICacheKeyValue(Interface):
   105     """Interface used to get string representation of a given object as cache key"""
   109     """Interface used to get string representation of a given object as cache key"""