Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/e/r/erp5-HEAD/product/ERP5Type/CachePlugins/RamCache.py   erp5(Download)
  def __init__(self, uid, params={}):
    self._cache_dict = {}
    BaseCache.__init__(self, uid)
 
  def initCacheStorage(self):

src/e/r/erp5-HEAD/product/ERP5Type/CachePlugins/DistributedRamCache.py   erp5(Download)
    self._debug_level = params.get('debug_level', 0)
    self._key_prefix = params.get('key_prefix', '')
    BaseCache.__init__(self, uid)
 
  def initCacheStorage(self):

src/e/r/erp5-HEAD/product/ERP5Type/CachePlugins/DummyCache.py   erp5(Download)
  def __init__(self, params):
    BaseCache.__init__(self)
 
  def __call__(self, callable_object, cache_id, scope, cache_duration=None,
              *args, **kwd):