MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / expire

Function expire

app/api/agentops/common/cache.py:149–151  ·  view source on GitHub ↗

Set the expiry time for a key in the cache.

(key: str, expiry: int)

Source from the content-addressed store, hash-verified

147
148
149def expire(key: str, expiry: int) -> None:
150 """Set the expiry time for a key in the cache."""
151 _backend.expire(key, expiry)
152
153
154def delete(key: str) -> None:

Callers

nothing calls this directly

Calls 1

expireMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…