MCPcopy Create free account
hub / github.com/celery/celery / touch

Method touch

t/unit/backends/test_cache.py:241–243  ·  view source on GitHub ↗
(self, key, expire=0, noreply=None)

Source from the content-addressed store, hash-verified

239 return super().set(key, value, expire, noreply, flags)
240
241 def touch(self, key, expire=0, noreply=None):
242 _check_expire(expire)
243 return super().touch(key, expire, noreply)
244
245 class PyMemcacheHashClient(PyMemcacheClient):
246 """Mock pymemcache HashClient."""

Callers

nothing calls this directly

Calls 1

_check_expireFunction · 0.85

Tested by

no test coverage detected